Custom exceptions for Django REST Framework
Project description
Custom exceptions for django rest framework
Compatibility
- work with :
Python 2.7 / 3.4
Dango 1.6 / 1.7
Django Rest Framework 2.4 / 3.0
Installation
Install the package from pypi:
pip install djangorestframework-custom-exceptions
Add the application in your django settings:
DJANGO_APPS = ('rest_framework_custom_exceptions',)
Configure your rest framework :
REST_FRAMEWORK = { 'EXCEPTION_HANDLER': 'rest_framework_custom_exceptions.exceptions.simple_error_handler' }
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-custom-exceptions-1.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70bd2106674f3fe0eeb0c224b82a3ab03113f1aae834d808b630c968178f3ac8 |
|
MD5 | a59789caa4556ee9ecd445179363411d |
|
BLAKE2b-256 | faec974cb1aacfb0ef1e90013247caaaf84e92a645c1eec26f50eeac76f9ece6 |