A Django app to build REST API
Project description
Boilerplate Django Rest API
Django app build with rest api package such as DjangoRestFramework.
Detailed documentation is in the "docs" directory.
Quick start
- Add "boilerplate_django_rest_api" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
...
'boilerplate_django_rest_api',
]
- Include the polls URLconf in your project urls.py like this::
path('rest/', include('boilerplate_django_rest_api.urls')),
-
Run
python manage.py migrate
to create the polls models. -
Start the development server and visit http://127.0.0.1:8000/admin/ to test the rest (you'll need the Admin app enabled).
-
Visit http://127.0.0.1:8000/rest/ to test the rest api
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for boilerplate_django_rest_api-0.8.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00b9b5fab12939f7fe77e27cb14404db2b00cc3943c9ed67f98fa2edbc665479 |
|
MD5 | b69548aede6bd8d1012e003f781019b8 |
|
BLAKE2b-256 | 3867d0a8cb1cc1d01c54cf8002fa606b489b43fb366a7bb0f09338d058ee0366 |
Close
Hashes for boilerplate_django_rest_api-0.8.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ecd0139e31e7168250437d65fc1122d093d0437278a1eb411086d85f15b46ed |
|
MD5 | 30a474c71c4a361241e764e197d5b8dd |
|
BLAKE2b-256 | c2cff94b145d330ed63c633a470db155c24311ed1c6f0c4ef580c15d89630b2f |