django-cms-redirects

Lets you store simple redirects in a database and handles the redirecting for you
Download

django-cms-redirects Ranking & Summary

Advertisement

  • Rating:
  • License:
  • BSD License
  • Publisher Name:
  • Andrew Schoen
  • Publisher web site:
  • http://github.com/salvaorenick/

django-cms-redirects Tags


django-cms-redirects Description

Lets you store simple redirects in a database and handles the redirecting for you django-cms-redirects is a Django app that lets you store simple redirects in a database and handles the redirecting for you. Integrated with Django CMS to allow you to link directly to a page object. Based off django.contrib.redirects.Getting StartedTo get started simply install using pip:pip install django-cms-redirectsAdd cms_redirects to your installed apps and syncdb.Your installed apps should look something like this:INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.admin', 'cms', 'cms_redirects',)Finally, add 'cms_redirects.middleware.RedirectFallbackMiddleware' to your MIDDLEWARE_CLASSES setting.Usage:All usage is done through the admin.Providing a redirect from value for the source and either a redirect to or a page for the destination will result in a 301 redirectProviding a redirect from value for the source and NO destination will result in a 410 Requirements: · Python · Django · django-cms


django-cms-redirects Related Software