Skip to content

Latest commit

 

History

History
51 lines (33 loc) · 1.19 KB

README.md

File metadata and controls

51 lines (33 loc) · 1.19 KB

Coding sample for Django & DRF Integration documentation page. The DRF ecosystem provides many ways to secure your API using basic authentication or tokens. Here, we will show you how to easily secure an API for a model created in Django using Djoser.

👉 Get Support via email & Discord


Build

👉 Download the code

$ git clone https://github.com/app-generator/docs-django-drf.git
$ cd docs-django-drf

👉 Install modules via VENV

$ virtualenv env
$ source env/bin/activate
$ pip install -r requirements.txt

👉 Set Up Database

$ python manage.py makemigrations
$ python manage.py migrate

👉 Start the app

$ python manage.py runserver

At this point, the app runs at http://127.0.0.1:8000/.



Django & DRF Sample - Coding sample provided by App Generator