Ticket #3137: session_docs.diff
File session_docs.diff, 782 bytes (added by , 18 years ago) |
---|
-
docs/sessions.txt
23 23 run ``manage.py syncdb`` to install the single database table that stores 24 24 session data. 25 25 26 Note that the ``django_session`` table will not purge itself of expired 27 sessions. You will likely want to set up an external script to purge expired 28 sessions on a regular basis. See the script in the source at 29 ``django/bin/daily_cleanup.py`` as an example. 30 26 31 If you don't want to use sessions, you might as well remove the 27 32 ``SessionMiddleware`` line from ``MIDDLEWARE_CLASSES`` and ``'django.contrib.sessions'`` 28 33 from your ``INSTALLED_APPS``. It'll save you a small bit of overhead.