Skip to main content

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.

Release files for django-multi-sessions 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-multi-sessions 0.1.0
File Size Uploaded
django-multi-sessions-0.1.0.tar.gz 4.4 kB Details

Release files / django-multi-sessions-0.1.0.tar.gz

Download URL django-multi-sessions-0.1.0.tar.gz
Size 4.4 kB
Tags Source
SHA-256 checksum
How to use checksums
32b95987f1befaa0557dc145e772c9641c904aaf0c28a29cdc4117efb685c38c
BLAKE2b-256 checksum
How to use checksums
028727ca9ac26447dbe498da1778fcdf2e7cb5593bad026e4f1c2431c21051aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file

0.0.5

1 release file

0.0.4

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page