Django 1.10: Remove cleanupconfirmation management command.

According to this ece9d64d34 commit, the
confirmations are never deleted.
This commit is contained in:
Umair Khan 2016-11-22 15:58:10 +05:00 committed by Tim Abbott
parent 671c45524b
commit ea688620b3
1 changed files with 0 additions and 19 deletions

View File

@ -1,19 +0,0 @@
# -*- coding: utf-8 -*-
# Copyright: (c) 2008, Jarek Zgoda <jarek.zgoda@gmail.com>
__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()