An application to store your previous history with multiple backends
Project description
An application to store your previous history in your session engine backend.
With this application you will be able to redirect your users to their previous location when they tried to access a page where the login is required.
Thanks to oleiade for the name.
Compatibility
This library is compatible with:
python2.6, django1.4
python2.6, django1.5
python2.6, django1.6
python2.7, django1.4
python2.7, django1.5
python2.7, django1.6
python3.3, django1.5
python3.3, django1.6
Installation
Either check out the package from GitHub or it pull from a release via PyPI
pip install django-backward
Add backward.middleware.BackwardMiddleware to your MIDDLEWARE_CLASSES
MIDDLEWARE_CLASSES = ( 'backward.middleware.BackwardMiddleware', )
Add backward.urls to your urls.py
# urls.py from django.conf.urls import patterns, url, include urlpatterns = patterns( '', url(r'^backward/', include('backward.urls')), )
Set settings.LOGIN_REDIRECT_URL as mentioned in your urls.py for example
# settings.py LOGIN_REDIRECT_URL = '/backward/login/redirect/'
Configure your Session engine
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
File details
Details for the file django-backward-0.1.tar.gz
.
File metadata
- Download URL: django-backward-0.1.tar.gz
- Upload date:
- Size: 4.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d788170756ea1cb61c5e6ff0a02f1c4fa05e511d2353b1a05f80d1e8227578eb |
|
MD5 | 397f13b5f87876face6b30ca0e9520e6 |
|
BLAKE2b-256 | 4086897f58d25ee6d78fc11baa5de4b57a293c5b3cadcb86668461c56a8e92b2 |