django-multi-sessions
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:
http://adw0rd.com/2012/django-multi-sessions/en/ - article about it in English
http://adw0rd.com/2012/django-multi-sessions/en/ - article about it in Russian
http://pypi.python.org/pypi/django-multi-sessions - the PyPI page
https://github.com/adw0rd/django-multi-sessions - the GitHub repository
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.
Metadata
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)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-multi-sessions-0.1.0.tar.gz | 4.4 kB | Without provenance | 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 |
Security for django-multi-sessions 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.