Skip to main content

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

  1. Add "boilerplate_django_rest_api" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [
    ...
    'boilerplate_django_rest_api',
]
  1. Include the polls URLconf in your project urls.py like this::
path('rest/', include('boilerplate_django_rest_api.urls')),
  1. Run python manage.py migrate to create the polls models.

  2. Start the development server and visit http://127.0.0.1:8000/admin/ to test the rest (you'll need the Admin app enabled).

  3. 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

boilerplate_django_rest_api-0.8.0.tar.gz (1.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

boilerplate_django_rest_api-0.8.0-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file boilerplate_django_rest_api-0.8.0.tar.gz.

File metadata

  • Download URL: boilerplate_django_rest_api-0.8.0.tar.gz
  • Upload date:
  • Size: 1.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for boilerplate_django_rest_api-0.8.0.tar.gz
Algorithm Hash digest
SHA256 00b9b5fab12939f7fe77e27cb14404db2b00cc3943c9ed67f98fa2edbc665479
MD5 b69548aede6bd8d1012e003f781019b8
BLAKE2b-256 3867d0a8cb1cc1d01c54cf8002fa606b489b43fb366a7bb0f09338d058ee0366

See more details on using hashes here.

File details

Details for the file boilerplate_django_rest_api-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: boilerplate_django_rest_api-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.9

File hashes

Hashes for boilerplate_django_rest_api-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9ecd0139e31e7168250437d65fc1122d093d0437278a1eb411086d85f15b46ed
MD5 30a474c71c4a361241e764e197d5b8dd
BLAKE2b-256 c2cff94b145d330ed63c633a470db155c24311ed1c6f0c4ef580c15d89630b2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page