Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Robust redirect app for django that supports domain redirects and regular expression patterns
Python
branch: master

This branch is 6 commits behind concentricsky:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
sky_redirects
.gitignore
LICENSE
README.rst
setup.py

README.rst

Usage

add 'sky_redirects' to INSTALLED_APPS in settings.py:

INSTALLED_APPS = (
   'sky_redirects',
   ...

Add the sky_redirects middleware to the beginning of MIDDLEWARE_CLASSES in settings.py:

MIDDLEWARE_CLASSES = [
   'sky_redirects.middleware.DomainRedirectMiddleware',
   'sky_redirects.middleware.RegexRedirectMiddleware',
   ...

Then run syncdb, and you are ready to go!

Something went wrong with that request. Please try again.