From ea688620b326e6f8b25fec48aa70d9aa2cfa9c5a Mon Sep 17 00:00:00 2001 From: Umair Khan Date: Tue, 22 Nov 2016 15:58:10 +0500 Subject: [PATCH] Django 1.10: Remove cleanupconfirmation management command. According to this ece9d64d342cbf3156691f1e6a476f80d2bc26d3 commit, the confirmations are never deleted. --- .../commands/cleanupconfirmation.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 confirmation/management/commands/cleanupconfirmation.py diff --git a/confirmation/management/commands/cleanupconfirmation.py b/confirmation/management/commands/cleanupconfirmation.py deleted file mode 100644 index 4a0bae8e81..0000000000 --- a/confirmation/management/commands/cleanupconfirmation.py +++ /dev/null @@ -1,19 +0,0 @@ -# -*- coding: utf-8 -*- - -# Copyright: (c) 2008, Jarek Zgoda - -__revision__ = '$Id: cleanupconfirmation.py 5 2008-11-18 09:10:12Z jarek.zgoda $' - -from typing import Any - -from django.core.management.base import NoArgsCommand - -from confirmation.models import Confirmation - - -class Command(NoArgsCommand): - help = 'Delete expired confirmations from database' - - def handle_noargs(self, **options): - # type: (**Any) -> None - Confirmation.objects.delete_expired_confirmations()