Skip to main content

A reusable Django app to add custom redirect actions to Django-CMS.

Project description

A reusable Django app to add custom redirect actions to Django-CMS.


If you want to install the latest stable release from PyPi:

$ pip install cmsplugin-redirect

If you feel adventurous and want to install the latest commit from GitHub:

$ pip install -e git://

Add cmsplugin_redirect to your INSTALLED_APPS:


Add the ForceResponseMiddleware to your middleware classes setting:


Run ./ migrate to apply south migrations.


You can add the Redirect action plugin to a placeholder like you would add all other plugins in the admin of a CMS Page.

You can chose to which CMS Page you want to redirect via the drop down list. If you leave the page_link choice blank, the plugin redirects to the first child of the Page.

Just be careful, that you don’t accidentaly create infinite redirects loops.


If you want to contribute to this project, please perform the following steps:

# Fork this repository
# Clone your fork
$ mkvirtualenv -p python2.7 cmsplugin-redirect
$ pip install -r test_requirements.txt
$ ./logger/tests/
# You should get no failing tests

$ git co -b feature_branch master
# Implement your feature and tests
# Describe your change in the CHANGELOG.txt
$ git add . && git commit
$ git push origin feature_branch
# Send us a pull request for your feature branch

Whenever you run the tests a coverage output will be generated in tests/coverage/index.html. When adding new features, please make sure that you keep the coverage at 100%.


Check the issue tracker on github for milestones and features to come.

Project details

Release history Release notifications

This version
History Node


History Node


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
cmsplugin-redirect-0.2.1.tar.gz (9.2 kB) Copy SHA256 hash SHA256 Source None Jul 8, 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