django-redirectorBuilt for use on grovemade.com, Django Redirector adds simple admin powered 301 redirects | |
Download |
django-redirector Ranking & Summary
Advertisement
- License:
- Freeware
- Price:
- FREE
- Publisher Name:
- Yuji Tomita
- Publisher web site:
- https://github.com/yuchant/
django-redirector Tags
django-redirector Description
django-redirector is a Django app that adds simple admin powered 301 redirectsExample rules:Path: /foo/bar/ Type: exact (case insensitive)Path: /products/ Type: startswithUses caching heavily because the middleware is called on every request.1. redirect rules are cached once2. redirect results are cached per request pathCache is invalidated when a new rule is saved/added.InstallationAdd the package to your python path, pip install, setup.py install, etc.Add 'django_redirects' to INSTALLED_APPSAdd 'django_redirects.middleware.RedirectMiddleware' immediately after CommonMiddleware in MIDDLEWARE_CLASSESSyncdb, then navigate to your admin panel!SettingsREDIRECT_CACHE_TIME: _default: 60*30_ Seconds to cache individual page redirect results.Product's homepage
django-redirector Related Software