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:
@@ -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)
|
||||
Reference in New Issue
Block a user