Django redirects, with regular expressions
Project description
django-regex-redirects
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.org/pypi/django-regex-redirects
Install
pip install django-regex-redirects
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!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file django-regex-redirects-0.5.0.tar.gz
.
File metadata
- Download URL: django-regex-redirects-0.5.0.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5b03a90dbbbb0c3c123737429cfc13fc27fa17284522a5aae9807ad73c8efdd |
|
MD5 | 887375370edc0230f1e82ae5eb5a954d |
|
BLAKE2b-256 | f5323421cd66e11be6107c3086ba907b047b9f9c8cedda3a3f2e299641e5d111 |
File details
Details for the file django_regex_redirects-0.5.0-py3-none-any.whl
.
File metadata
- Download URL: django_regex_redirects-0.5.0-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 691274a2c42677a668b9d4841285f3008b024ab835b03a045a985ba5c5d4a603 |
|
MD5 | 56b5e821016228f076e72e9ae04e50fb |
|
BLAKE2b-256 | 800784a5986cedd356563cd1f616022eeff091129942d7bd5ec4121efbbb9461 |