django1/django/contrib/sessions/backends
Aymeric Augustin cd17a24083 Added optional kwargs to get_expiry_age/date.
This change allows for cleaner tests: we can test the exact output.

Refs #18194: this change makes it possible to compute session expiry
dates at times other than when the session is saved.

Fixed #18458: the existence of the `modification` kwarg implies that you
must pass it to get_expiry_age/date if you call these functions outside
of a short request - response cycle (the intended use case).
2012-10-27 23:15:45 +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 Added optional kwargs to get_expiry_age/date. 2012-10-27 23:15:45 +02:00
cache.py [py3] Added Python 3 compatibility for xrange. 2012-07-22 09:29:56 +02:00
cached_db.py Added optional kwargs to get_expiry_age/date. 2012-10-27 23:15:45 +02:00
db.py Fixed #19200 -- Session expiry with cached_db 2012-10-27 19:40:39 +02:00
file.py Removed unneeded smart_bytes import which was introduced in f2fff84bc. 2012-08-15 17:33:21 +02:00
signed_cookies.py Fixed #19200 -- Session expiry with cached_db 2012-10-27 19:40:39 +02:00