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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django_regex_redirects-0.6.0.tar.gz.
File metadata
- Download URL: django_regex_redirects-0.6.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f0070cc032549db9bcaacec5d019af1392eea936014a9af11076722d64a08056
|
|
| MD5 |
7c056419e01293f61b9dd6f163fbffa5
|
|
| BLAKE2b-256 |
e7e6e82d8d49c9e8c6d8fe79cc95127609d5208a814f1b7847f264d695d8b7b4
|
File details
Details for the file django_regex_redirects-0.6.0-py3-none-any.whl.
File metadata
- Download URL: django_regex_redirects-0.6.0-py3-none-any.whl
- Upload date:
- Size: 12.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
95ba67e6c99bbf5987669a6f24d55dbd34d086b40f52d523689a5c60874166d1
|
|
| MD5 |
f3c83681b195f698140084231f8f46f3
|
|
| BLAKE2b-256 |
a002ed5a819c2637a64239986cee572f06adb11dab667360b56197cccff87172
|