App Engine Python SDK version 1.9.12
[gae.git] / python / lib / django-1.2 / django / bin / daily_cleanup.py
blobc9f4cb905c677f729a878d733271158342568323
1 #!/usr/bin/env python
3 """
4 Daily cleanup job.
6 Can be run as a cronjob to clean out old data from the database (only expired
7 sessions at the moment).
8 """
10 from django.core import management
12 if __name__ == "__main__":
13 management.call_command('cleanup')