Skip to content

worthwhile/django-regex-redirects

This branch is 2 commits ahead of, 16 commits behind maykinmedia/django-regex-redirects:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

4207018 · Apr 30, 2022

History

49 Commits
Apr 30, 2022
May 30, 2017
May 30, 2017
Jun 28, 2018
Sep 2, 2013
Jun 28, 2018
May 30, 2017
Apr 30, 2022
Jun 28, 2018
Jun 28, 2018

Repository files navigation

django-regex-redirects Build Status

Django redirects, with regular expressions. It is a modified version of django.contrib.redirects.

Features

  • Redirect your visitors using regular expressions
  • Configurable via the admin
  • Redirects are exportable as .csv

https://pypi.python.org/pypi/django-regex-redirects

Install

pip install django-regex-redirects or python setup.py install

Add regex_redirects to your INSTALLED_APPS:

INSTALLED_APPS = (
  ...
  'regex_redirects',
  ...
)

Add the middleware to your MIDDLEWARE:

MIDDLEWARE = [
  'regex_redirects.middleware.RedirectFallbackMiddleware'
  ...
]

Run manage.py migrate and you're good to go!

About

Django redirects, with regular expressions

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%