Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install tipfy.ext.httpexceptions

How to install tipfy.ext.httpexceptions

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install tipfy.ext.httpexceptions
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.1.2 Available View build log
Windows (64-bit)
0.1.2 Available View build log
Mac OS X (10.5+)
0.1.2 Available View build log
Linux (32-bit)
0.1.2 Available View build log
Linux (64-bit)
0.1.2 Available View build log
Web
 
Author
License
BSD
Dependencies
Imports
Lastest release
version 0.1.2 on Mar 1st, 2011

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

System Message: WARNING/2 (<string>, line 13)

Bullet list ends without a blank line; unexpected unindent.

usually located) * Modify config.py and add folowing lines:

# Middlewares config

System Message: ERROR/3 (<string>, line 17)

Inconsistent literal block quoting.

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

Changes

0.1: Init release

Subscribe to package updates

Last updated Mar 1st, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.