This is a simple project to handle http errors responses to Bode Django Projects
Project description
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:
from bode_error_pages.views import Error403View, Error404View, Error500View
handler403 = Error403View.as_view()
handler404 = Error404View.as_view()
handler500 = Error500View.as_view()
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 bode-django-error-pages-0.0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a2d5822225a553660054f115225056d7a9096fd3d0b3058879a66e0e5aeb00a1 |
|
MD5 | 0300ecb6268063c83f635e631857f9c3 |
|
BLAKE2b-256 | 6a3501dbda105103c098d1affb2826ea4b7a830d1771c1cc00182c8f0f245e56 |