Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

Project description

tipfy.ext.httpexceptions
========================

Middleware to catch server errors and show proper page.

Setup
-----

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

* Add to buildout.cfg egg import
* Add templates 404.html and 500.html to 'common/templates/' folder (place where common templates
usually located)
* Modify config.py and add folowing lines::

# Middlewares config
config['tipfy'] = {
'middleware': [
# add this line to start of the list
'tipfy.ext.httpexceptions.middleware.HTTPExceptionMiddleware',
..
]
}

Changes
=======

0.1: Init release

Project details


Release history Release notifications

Download files

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

Files for tipfy.ext.httpexceptions, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size tipfy.ext.httpexceptions-0.1.2.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size tipfy.ext.httpexceptions-0.1.2.zip (5.5 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page