Skip to main content

A Django app which includes commonly used serializer, models, pagination and mixins

Project description

Commons is a Django app that includes commonly used serializer, models, pagination and mixins while developing an API with DjangoRestFramework .

Quick start

  1. Add “commons” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [

    … ‘commons’,

    ]

  2. Include the polls URLconf in your project urls.py like this:

    path(‘commons/’, include(‘commons.urls’)),

  3. Run python manage.py migrate to create the polls models.

  4. Start the development server

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

insight-workshop-commons-0.13.tar.gz (8.9 kB view details)

Uploaded Source

File details

Details for the file insight-workshop-commons-0.13.tar.gz.

File metadata

  • Download URL: insight-workshop-commons-0.13.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.1

File hashes

Hashes for insight-workshop-commons-0.13.tar.gz
Algorithm Hash digest
SHA256 b47f9e4ddf1b30c3c6cfdd8d3d63ef0694d3db93d3dbb3fd78d5cd9cc7a1f873
MD5 47f7f8031abf56dd8d600c0557bf1cbc
BLAKE2b-256 8aeb9fa0358bdc46e755aa79315a7ac70628d57614a80f1b0681b389ba853ae8

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