Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed daily_cleanup.py script as per deprecation TL.

  • Loading branch information...
commit 57d46bcde3a473ea2d61f4f466d870e85d7b5eb4 1 parent f02a703
Ramiro Morales ramiro authored
Showing with 0 additions and 19 deletions.
  1. +0 −19 django/bin/daily_cleanup.py
19 django/bin/daily_cleanup.py
View
@@ -1,19 +0,0 @@
-#!/usr/bin/env python
-
-"""
-Daily cleanup job.
-
-Can be run as a cronjob to clean out old data from the database (only expired
-sessions at the moment).
-"""
-
-import warnings
-
-from django.core import management
-
-if __name__ == "__main__":
- warnings.warn(
- "The `daily_cleanup` script has been deprecated "
- "in favor of `django-admin.py clearsessions`.",
- DeprecationWarning)
- management.call_command('clearsessions')
Please sign in to comment.
Something went wrong with that request. Please try again.