Permalink
Browse files

Removed 'cleanup' management command as per deprecation TL.

  • Loading branch information...
1 parent bb33ee5 commit f73d04dda9f1a96acdab77dacd7bdeaad66ad736 @ramiro ramiro committed Jun 28, 2013
Showing with 2 additions and 25 deletions.
  1. +0 −11 django/core/management/commands/cleanup.py
  2. +0 −12 docs/ref/django-admin.txt
  3. +1 −1 docs/releases/1.5-beta-1.txt
  4. +1 −1 docs/releases/1.5.txt
View
11 django/core/management/commands/cleanup.py
@@ -1,11 +0,0 @@
-import warnings
-
-from django.contrib.sessions.management.commands import clearsessions
-
-
-class Command(clearsessions.Command):
- def handle_noargs(self, **options):
- warnings.warn(
- "The `cleanup` command has been deprecated in favor of `clearsessions`.",
- DeprecationWarning)
- super(Command, self).handle_noargs(**options)
View
12 docs/ref/django-admin.txt
@@ -102,18 +102,6 @@ is compatible with the current version of Django.
Upon finding things that are incompatible or require notifying the user, it
issues a series of warnings.
-cleanup
--------
-
-.. django-admin:: cleanup
-
-Can be run as a cronjob or directly to clean out old data from the database
-(only expired sessions at the moment).
-
-.. versionchanged:: 1.5
-
- :djadmin:`cleanup` is deprecated. Use :djadmin:`clearsessions` instead.
-
compilemessages
---------------
View
2 docs/releases/1.5-beta-1.txt
@@ -689,7 +689,7 @@ framework.
``cleanup`` management command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The :djadmin:`cleanup` management command has been deprecated and replaced by
+The ``cleanup`` management command has been deprecated and replaced by
:djadmin:`clearsessions`.
``daily_cleanup.py`` script
View
2 docs/releases/1.5.txt
@@ -788,7 +788,7 @@ the built-in :func:`itertools.product` instead.
``cleanup`` management command
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The :djadmin:`cleanup` management command has been deprecated and replaced by
+The ``cleanup`` management command has been deprecated and replaced by
:djadmin:`clearsessions`.
``daily_cleanup.py`` script

0 comments on commit f73d04d

Please sign in to comment.