skip to navigation
skip to content

Not Logged In

django-multi-sessions 0.0.4

Multi-sessions backend for Django

Latest Version: 0.1.0

Multiple backends for your sessions!

https://secure.travis-ci.org/adw0rd/django-multi-sessions.png

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.
 
File Type Py Version Uploaded on Size
django-multi-sessions-0.0.4.tar.gz (md5) Source 2012-09-30 3KB
  • Downloads (All Versions):
  • 21 downloads in the last day
  • 88 downloads in the last week
  • 567 downloads in the last month