skip to navigation
skip to content

Not Logged In

django-robust-redirects 0.9.2

A more robust and feature full django redirect package

Latest Version: 0.9.3

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`

Changelog
=========

0.9.2
-----

- Fix typos in the help text.
- Require Django.
- Prepend a slash when doing a partial replacement if the resulting url doesn’t have one. This avoid relative redirections.
- Fix the model admin form and use it in the admin.  
File Type Py Version Uploaded on Size
django-robust-redirects-0.9.2.tar.gz (md5) Source 2014-01-21 8KB
  • Downloads (All Versions):
  • 12 downloads in the last day
  • 372 downloads in the last week
  • 1192 downloads in the last month