From cad8001bd04861ebbcfee6ccf5947cd90afac5ac Mon Sep 17 00:00:00 2001 From: Wookey Date: Wed, 10 Jun 2015 23:52:49 +0100 Subject: Use django-registration, not a local copy. This old one is uses deprecated hashcompat. --- .../management/commands/cleanupregistration.py | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 registration/management/commands/cleanupregistration.py (limited to 'registration/management/commands/cleanupregistration.py') diff --git a/registration/management/commands/cleanupregistration.py b/registration/management/commands/cleanupregistration.py deleted file mode 100644 index abec5ae..0000000 --- a/registration/management/commands/cleanupregistration.py +++ /dev/null @@ -1,19 +0,0 @@ -""" -A management command which deletes expired accounts (e.g., -accounts which signed up but never activated) from the database. - -Calls ``RegistrationProfile.objects.delete_expired_users()``, which -contains the actual logic for determining which accounts are deleted. - -""" - -from django.core.management.base import NoArgsCommand - -from registration.models import RegistrationProfile - - -class Command(NoArgsCommand): - help = "Delete expired user registrations from the database" - - def handle_noargs(self, **options): - RegistrationProfile.objects.delete_expired_users() -- cgit v1.2.3