Skip to content

bodedev/django-error-pages

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:
from bode_error_pages.views import Error403View, Error404View, Error500View

handler403 = Error403View.as_view()
handler404 = Error404View.as_view()
handler500 = Error500View.as_view()

About

A very simple project to organize our django error pages template.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors