معرفی شرکت ها


djangorestframework-custom-exceptions-1.0.2


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Custom exceptions for Django REST Framework
ویژگی مقدار
سیستم عامل -
نام فایل djangorestframework-custom-exceptions-1.0.2
نام djangorestframework-custom-exceptions
نسخه کتابخانه 1.0.2
نگهدارنده ['Morgan Bohn']
ایمیل نگهدارنده ['morgan.bohn@unistra.fr']
نویسنده Morgan Bohn
ایمیل نویسنده morgan.bohn@unistra.fr
آدرس صفحه اصلی https://github.com/unistra/django-rest-framework-custom-exceptions
آدرس اینترنتی https://pypi.org/project/djangorestframework-custom-exceptions/
مجوز -
django-rest-custom-exceptions ====================================== Custom exceptions for django rest framework Compatibility ------------- Works with : * Python 2.7, 3.4, 3.5, 3.6 * Django >= 1.10 * Django Rest Framework >= 3.5 .. image:: https://travis-ci.org/unistra/django-rest-framework-custom-exceptions.svg?branch=master :target: https://travis-ci.org/unistra/django-rest-framework-custom-exceptions .. image:: https://coveralls.io/repos/github/unistra/django-rest-framework-custom-exceptions/badge.svg?branch=master :target: https://coveralls.io/github/unistra/django-rest-framework-custom-exceptions?branch=master .. image:: https://landscape.io/github/unistra/django-rest-framework-custom-exceptions/master/landscape.svg?style=flat :target: https://landscape.io/github/unistra/django-rest-framework-custom-exceptions/master :alt: Code Health Installation ------------ Install the package from pypi: :: pip install djangorestframework-custom-exceptions Add the application in your django settings: :: INSTALLED_APPS = ('rest_framework_custom_exceptions',) Configure your rest framework : :: REST_FRAMEWORK = { 'EXCEPTION_HANDLER': 'rest_framework_custom_exceptions.exceptions.simple_error_handler' } Example ------- The simple error handler show exceptions like this : :: { "error": "Not found" }


نحوه نصب


نصب پکیج whl djangorestframework-custom-exceptions-1.0.2:

    pip install djangorestframework-custom-exceptions-1.0.2.whl


نصب پکیج tar.gz djangorestframework-custom-exceptions-1.0.2:

    pip install djangorestframework-custom-exceptions-1.0.2.tar.gz