django1/django/contrib/sessions/backends
Jon Dufresne bdae19cf63 Refs #27795 -- Removed force_bytes() usage in sessions.
SessionBase.decode() is the inverse operation to SessionBase.encode().
As SessionBase.encode() always returns a string, SessionBase.decode()
should always be passed a string argument. Fixed the file backend, which
was the only backend still passing a bytestring.
2018-10-03 11:11:42 +02:00
..
__init__.py Fixed #2066: session data can now be stored in the cache or on the filesystem. This should be fully backwards-compatible (the database cache store is still the default). A big thanks to John D'Agostino for the bulk of this code. 2007-09-15 21:29:14 +00:00
base.py Refs #27795 -- Removed force_bytes() usage in sessions. 2018-10-03 11:11:42 +02:00
cache.py Fixed #28167 -- Fixed cache backend's SessionStore.exists() if session_key is None. 2017-05-03 12:39:07 -04:00
cached_db.py Fixed #28982 -- Simplified code with and/or. 2018-01-03 20:12:23 -05:00
db.py Made session loading in cached_db engine more DRY. 2017-12-08 10:51:16 -05:00
file.py Refs #27795 -- Removed force_bytes() usage in sessions. 2018-10-03 11:11:42 +02:00
signed_cookies.py Fixed #28066 -- Prevented SessionBase.cycle_key() from discarding data. 2017-04-17 09:58:19 -04:00