guidocecilio / django-rest-framework-tutorial

Source code for the Django REST framework tutorial. Own training.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-rest-framework-tutorial

Source code for the Django REST framework tutorial. Own training.

Installation

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

About

Source code for the Django REST framework tutorial. Own training.


Languages

Language:Python 100.0%