skip to navigation
skip to content

django-backward 0.2.1

A Django application to store your previous history and action in your session engine

Latest Version: 0.3.6

A Django application to store your previous history and action in your session engine.

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.

You will be also able to record previous action which needed login required.

For example, if your user is not logged in your application and try to execute an action which required authentication (e.g.: an user clicks on a button to follow another user), this application will record parameters (even on POST) and execute the last action when your user will be successfully logged.

Thanks to oleiade for the name.


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


  1. Either check out the package from GitHub or it pull from a release via PyPI

    pip install django-backward
  2. Add backward.middleware.BackwardMiddleware to your MIDDLEWARE_CLASSES

  3. Add backward.urls to your

    from django.conf.urls import patterns, url, include
    urlpatterns = patterns(
        url(r'^backward/', include('backward.urls')),
  4. Set settings.LOGIN_REDIRECT_URL as mentioned in your for example

    LOGIN_REDIRECT_URL = '/backward/login/redirect/'
  5. Configure your Session engine

  6. Use the decorator backward.decorators.login_required if your views need authentication

File Type Py Version Uploaded on Size
django-backward-0.2.1.tar.gz (md5, pgp) Source 2014-03-11 6KB