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.3.tar.gz (7.5 kB view hashes)

Uploaded Source

Supported by

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