Skip to main content

Django Boilerplate 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

django_boilerplate_rest-0.1.0.tar.gz (20.7 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page