Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dynamic field for different action using ModelViewSet. This repo is used in my blog

Notifications You must be signed in to change notification settings

khasburrahman/DRF-Model-Viewset-Model-Serializer-Example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DRF Model Viewset Model Serializer Example

To run the example for the first time:

Make sure you have python 3 installed, clone the repo and:

  • install the dependencies using pip install -r requirements.txt
  • migrate the sqlite3 database python manage.py migrate
  • start the service: python manage.py runserver 0:8000
  • the app is served at localhost:8000, and you can browse the admin page at /admin

Running the example for the next time

  • start the service: python manage.py runserver 0:8000

This repo has a docker flavor with postgresql see the docker brach: https://github.com/khasburrahman/DRFPostgresDocker/tree/DRF-+-POSTGRES-With-Docker

About

Dynamic field for different action using ModelViewSet. This repo is used in my blog

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages