Source code for the Django REST framework tutorial. Own training.
virtualenv -no-site-package .env
$ source .env/bin/activate
(.env)$ pip install -r requirements.txt
(.env)$ python tutorial/manage.py makemigrations snippets
(.env)$ python tutorial/manage.py migrate
To create a few users, to use for testing the API use the createsuperuser command
(.env)$ python manage.py createsuperuser
Running the server
(.env)$ python tutorial/manage.py runserver