1
0
mirror of https://github.com/django/django.git synced 2025-11-07 07:15:35 +00:00

Removed 'cleanup' management command as per deprecation TL.

This commit is contained in:
Ramiro Morales
2013-06-28 13:38:04 -03:00
parent bb33ee5e7b
commit f73d04dda9
4 changed files with 2 additions and 25 deletions

View File

@@ -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)