More Cool Django Rest Framework Stuff
Project description
django-rest-framework-more
More Cool Django Rest Framework Stuff
install
pip3 install djangorestframework-more
or pipenv install djangorestframework-more
features
NonPaginatedCSVRenderer
In case you want a CSV renderer that doesn't respect pagination:
# in settings.py
REST_FRAMEWORK = {
'DEFAULT_RENDERER_CLASSES': [
'rest_framework.renderers.JSONRenderer',
'rest_framework.renderers.BrowsableAPIRenderer',
'rest_framework_more.renderers.NonPaginatedCSVRenderer
]
}
If you'd like to learn more about using renderers in Django Rest Framework, see https://www.django-rest-framework.org/api-guide/renderers/#setting-the-renderers
contact
If you have any issues, feel free to post an issue at https://github.com/DanielJDufour/django-rest-framework-more/issues or email the package author at daniel.j.dufour@gmail.com
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
Close
Hashes for djangorestframework-more-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0258daf93d73f19bc2130f1fe848c884b89b4f249676eb5169ccebeeecec2512 |
|
MD5 | 76e61f6ee7d5f1900cf358c793d00b44 |
|
BLAKE2b-256 | 5d6d2f6037336f122d114d5784c8dd177fa24b7206fff505fcd68b0a8e9ca748 |