1daily_cleanup.py(1) daily_cleanup.py(1)
2
3
4
6 daily_cleanup.py - Database clean-up for the Django Web framework
7
9 daily_cleanup.py
10
11
13 Removes stale session data from a Django database. This means, any ses‐
14 sion data which has an expiry date prior to the date the script is run.
15
16 The script can be run manually or can be scheduled to run at regular
17 intervals as a cron job.
18
19
21 DJANGO_SETTINGS_MODULE
22 This environment variable defines the settings module to be
23 read. It should be in Python-import form, e.g. "myproject.set‐
24 tings".
25
26
28 The sessions documentation:
29
30 http://docs.djangoproject.com/en/dev/topics/http/sessions/
31
32
34 Originally developed at World Online in Lawrence, Kansas, USA. Refer to
35 the AUTHORS file in the Django distribution for contributors.
36
37
39 New BSD license. For the full license text refer to the LICENSE file in
40 the Django distribution.
41
42
43
44
45Django Project August 2007 daily_cleanup.py(1)