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
Built Distribution
Close
Hashes for bode-django-error-pages-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7079e89b1627f9c7ef5d2923fad55f841aa9a43bb3ee23e185b1e0eb8968295 |
|
MD5 | 4c91eb61e2b0d8ac93d62069ca50e160 |
|
BLAKE2b-256 | 27be7e795564a927ee28fc62b462ca413406aabd6c336a6feae6a6bf022bca13 |
Close
Hashes for bode_django_error_pages-0.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d7a55aa5d8ba15c419e16c85c6a8a9ea642f1096cf6176a382e901943a5a21c |
|
MD5 | 2c29f5d4b3c68a04cd5755d6dbc95467 |
|
BLAKE2b-256 | fb429c727ce356d78b52d06f2b0da2d4f11eb424a35b3845f70cf0341a82c06c |