Skip to main content

Wrapper Views for common errors

Project description

django-errors PyPi license

Pypi PyPi status PyPi version PyPi python version PyPi downloads PyPi downloads PyPi downloads

pip install django-errors

GitHub GitHub release GitHub release



  1. modify by adding the app to INSTALLED_APPS:
    # ...
    # ...
  1. Finally, modify your project with handlers for all errors:
# ...other imports...
from django_errors import views as errors_views

urlpatterns = [
    # ...other urls...

handler400 = errors_views.custom_400
""" Handle 400 error """

handler403 = errors_views.custom_403
""" Handle 403 error """

handler404 = errors_views.custom_404
""" Handle 404 error """

handler500 = errors_views.custom_500
""" Handle 500 error """

Run Example Project

cd example
python runserver

Now browser the app @

About Landing Page Errors

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-errors, version 0.4b2
Filename, size File type Python version Upload date Hashes
Filename, size django_errors-0.4b2-py3.7.egg (23.5 kB) File type Egg Python version 3.7 Upload date Hashes View
Filename, size django_errors-0.4b2-py3.8.egg (23.5 kB) File type Egg Python version 3.8 Upload date Hashes View
Filename, size django_errors-0.4b2-py3.9.egg (23.5 kB) File type Egg Python version 3.9 Upload date Hashes View
Filename, size django_errors-0.4b2.tar.gz (9.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page