django1/django/contrib/sessions/backends
Luke Plant 5eece23296 Converted sessions tests from doctest to unittest.
Also made the FileSession backend consistent with other backends in one
corner case uncovered by the conversion, namely that the backend should
create a new key if the one passed in is invalid.



git-svn-id: http://code.djangoproject.com/svn/django/trunk@13482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-05 11:49:58 +00: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 When logging in, change the session key whilst preserving any existing 2008-08-21 13:54:53 +00:00
cache.py Fixed #9548 -- Correctly detect existence of empty sessions with cache backend. 2009-03-01 07:32:41 +00:00
cached_db.py Fixed #6791: added a write-through cache session backend: session data is written through the cache to the database, but read from the cache for speed. Thanks to jhenry, mcroydon, and jdunck. 2009-01-10 22:18:14 +00:00
db.py Fixed #13200 -- Updated the DB session backend to make full use of routers, deprecating the need for the SESSION_DB_ALIAS setting. Thanks to rokclimb15 for the report. 2010-03-25 10:29:06 +00:00
file.py Converted sessions tests from doctest to unittest. 2010-08-05 11:49:58 +00:00