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
Add “commons” to your INSTALLED_APPS setting like this:
- INSTALLED_APPS = [
… ‘commons’,
]
Include the polls URLconf in your project urls.py like this:
path(‘commons/’, include(‘commons.urls’)),
Run python manage.py migrate to create the polls models.
Start the development server
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b47f9e4ddf1b30c3c6cfdd8d3d63ef0694d3db93d3dbb3fd78d5cd9cc7a1f873
|
|
| MD5 |
47f7f8031abf56dd8d600c0557bf1cbc
|
|
| BLAKE2b-256 |
8aeb9fa0358bdc46e755aa79315a7ac70628d57614a80f1b0681b389ba853ae8
|