Skip to main content

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.

Project details


Release history Release notifications

This version
History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
django-clever404-0.1.tar.gz (2.9 kB) Copy SHA256 hash SHA256 Source None Jun 20, 2013

Supported by

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