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.
Install the package. Usage of pip is highly recommended:
pip install django-clever404
Next, add the package to the INSTALLED_APPS setting:
INSTALLED_APPS = (
Then we can add the middleware:
MIDDLEWARE_CLASSES = (
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.
TODO: Brief introduction on what you do with files - including link to relevant help section.