django-multi-sessions 0.1.0

Multi-sessions backend for Django

Multiple backends for your sessions!

Designed for moving sessions from one session engine to another, without stopping the current sessions. It consistently passes backends in the list (settings.SESSION_MULTISESSIONS_POOL) and depending on the modes of doing the necessary.

For more information see:

Installation

1. Download the archive and run python setup.py install or pip install django-multi-sessions

2. Set multi_sessions.session as your session engine, like so:

SESSION_ENGINE = "multi_sessions.session"

3. Example settings:

SESSION_MULTISESSIONS_POOL = (
    {"backend": "redis_sessions.session", "modes": ["read", "write"]},
    {"backend": "django.contrib.sessions.backends.db", "modes": ["read", "delete"]},
)

4. Available modes:

  • "read" - Allows launch "load" method;
  • "write" - Allows launch "save" and "create" method;
  • "delete" - Allows launch the "delete" method.
BSD

Author

Mikhail Andreev

Pip

django-multi-sessions==0.1.0

Classifiers

  • Topic :: Software Development :: Libraries :: Python Modules
  • Topic :: Software Development :: Libraries :: Application Frameworks
  • Programming Language :: Python
  • License :: OSI Approved :: BSD License
  • Framework :: Django
  • Environment :: Web Environment
File Type Python Version Uploaded On Downloads
django-multi-sessions-0.1.0.tar.gz Source Oct. 2, 2012 2,697
Version Release Date
0.1.0 Oct. 2, 2012
0.0.5 Oct. 2, 2012
0.0.4 Sept. 30, 2012
0.0.3 Feb. 27, 2012
0.0.2 Feb. 27, 2012
0.0.1 Feb. 25, 2012
Date Package Version Action
Nov. 4, 2014, 1:29 p.m. django-multi-sessions 0.1.0 Release Created
Nov. 4, 2014, 1:29 p.m. django-multi-sessions 0.0.2 Release Created
Nov. 4, 2014, 1:29 p.m. django-multi-sessions 0.0.3 Release Created
Nov. 4, 2014, 1:29 p.m. django-multi-sessions 0.0.1 Release Created
Nov. 4, 2014, 1:29 p.m. django-multi-sessions 0.0.4 Release Created
Nov. 4, 2014, 1:29 p.m. django-multi-sessions 0.0.5 Release Created
Nov. 4, 2014, 1:29 p.m. django-multi-sessions Package Created