tipfy.ext.httpexceptions

Tipfy extension to catch 500 and 404 pages and show proper message


License
BSD-3-Clause
Install
pip install tipfy.ext.httpexceptions==0.1.2

Documentation

tipfy.ext.httpexceptions

Middleware extension allow to catch errors and show proper page.

Setup

To use this extension in your application follow few simple steps:

  • Add to buildout.cfg egg import
  • Modify config.py and add folowing lines:

config['tipfy'] = { 'middleware': [ 'tipfy.ext.httpexceptions.middleware.HTTPExceptionMiddleware', # ... other middleware goes below ],