This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A django app to intercept 404 pages, and allow retroactive redirects

Project Description
clever404
=========

This package provides a retroactive way to fix 404 errors in a django based website, by intercepting them and providing the option to add a redirect for any of these 404 urls.


------------
Installation
------------

Install the package. Usage of pip is highly recommended:
pip install django-clever404

Next, add the package to the INSTALLED_APPS setting:
INSTALLED_APPS = (
'clever404',
...
)

Then we can add the middleware:
MIDDLEWARE_CLASSES = (
'clever404.middleware.Clever404Middleware',
...

That's it. Sync or migrate the database, start the server, and from now on it should maintain a list of 404 urls. If the site uses the admin framework, clever404 provides an admin interface to add redirection urls.
Release History

Release History

This version
History Node

0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-clever404-0.1.tar.gz (2.9 kB) Copy SHA256 Checksum SHA256 Source Jun 20, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting