daily_cleanup.1 995 B

12345678910111213141516171819202122232425262728293031323334
  1. .TH "daily_cleanup.py" "1" "August 2007" "Django Project" ""
  2. .SH "NAME"
  3. daily_cleanup.py \- Database clean-up for the Django Web framework
  4. .SH "SYNOPSIS"
  5. .B daily_cleanup.py
  6. .SH "DESCRIPTION"
  7. Removes stale session data from a Django database. This means, any session data
  8. which has an expiry date prior to the date the script is run.
  9. .sp
  10. The script can be run manually or can be scheduled to run at regular
  11. intervals as a
  12. .BI cron
  13. job.
  14. .SH "ENVIRONMENT"
  15. .TP
  16. .I DJANGO_SETTINGS_MODULE
  17. This environment variable defines the settings module to be read.
  18. It should be in Python-import form, e.g. "myproject.settings".
  19. .SH "SEE ALSO"
  20. The sessions documentation:
  21. .sp
  22. .I http://docs.djangoproject.com/en/dev/topics/http/sessions/
  23. .SH "AUTHORS/CREDITS"
  24. Originally developed at World Online in Lawrence, Kansas, USA. Refer to the
  25. AUTHORS file in the Django distribution for contributors.
  26. .SH "LICENSE"
  27. New BSD license. For the full license text refer to the LICENSE file in the
  28. Django distribution.