bode-django-error-pages-0.0.3
توضیحات
This is a simple project to handle http errors responses to Bode Django Projects
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | bode-django-error-pages-0.0.3 |
| نام | bode-django-error-pages |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Bode.io Dev Team |
| ایمیل نویسنده | devs@bode.io |
| آدرس صفحه اصلی | https://github.com/bodedev/django-error-pages |
| آدرس اینترنتی | https://pypi.org/project/bode-django-error-pages/ |
| مجوز | MIT |
=======================
Bode Django Error Pages
=======================
Objective
===============
This is a simple django app to handle error pages on a Django Project. Obvious, with some Bode flavor.
How to use
===============
You must configure your root urls.py to handle errors.
* In settings.py, add the 'bode_error_pages' to INSTALLED_APPS;
* In your root urls.py file, add:
.. code-block:: python
from bode_error_pages.views import Error403View, Error404View, Error500View
handler403 = Error403View.as_view()
handler404 = Error404View.as_view()
handler500 = Error500View.as_view()
نحوه نصب
نصب پکیج whl bode-django-error-pages-0.0.3:
pip install bode-django-error-pages-0.0.3.whl
نصب پکیج tar.gz bode-django-error-pages-0.0.3:
pip install bode-django-error-pages-0.0.3.tar.gz