A more robust and feature full django redirect package
Project description
Django Robust Redirects
=======================
A more robust django redirect project.
Supports
- Regular expression redirects
- Ordinary direct redirects
- Partial path redirects
Installation
------------
1. Install the package from pip `pip install django-robust-redirects`
2. Add the following line to your INSTALLED_APPS::
```python
INSTALLED_APPS = (
...
'robustredirects'
)
```
3. Add the following lines to your middleware::
```python
MIDDLEWARE_CLASSES = (
...
'robustredirects.middleware.RedirectMiddleware'
)
```
4. Run syncdb to add the tables to your database
Converting from django.contrib.redirects
----------------------------------------
Robust redirects comes with a management command that will copy all django redirects over into robust redirects, just
run `python manage.py convert_redirects`
=======================
A more robust django redirect project.
Supports
- Regular expression redirects
- Ordinary direct redirects
- Partial path redirects
Installation
------------
1. Install the package from pip `pip install django-robust-redirects`
2. Add the following line to your INSTALLED_APPS::
```python
INSTALLED_APPS = (
...
'robustredirects'
)
```
3. Add the following lines to your middleware::
```python
MIDDLEWARE_CLASSES = (
...
'robustredirects.middleware.RedirectMiddleware'
)
```
4. Run syncdb to add the tables to your database
Converting from django.contrib.redirects
----------------------------------------
Robust redirects comes with a management command that will copy all django redirects over into robust redirects, just
run `python manage.py convert_redirects`
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
Close
Hashes for django-robust-redirects-0.9.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03afcf1a930f273d0d8a899fb71e7b0a2de4250b29743bc0251c6c17263d3802 |
|
MD5 | eaaabc8f736dd29450fe7312b4678f7e |
|
BLAKE2b-256 | cac969669529f4bd9484699b5d621df41c6bf271c31680bd0f6d98e5d7d8c7c5 |