diff options
author | Wookey <wookey@wookware.org> | 2015-06-10 23:52:49 +0100 |
---|---|---|
committer | Wookey <wookey@wookware.org> | 2015-06-10 23:52:49 +0100 |
commit | cad8001bd04861ebbcfee6ccf5947cd90afac5ac (patch) | |
tree | 287a6f9abd6fe992593f3094326e73d222ace451 /registration/management/commands/cleanupregistration.py | |
parent | d1ffa6fa1fd8e5c9c04cd1ea16fa91159244f2b2 (diff) | |
download | troggle-cad8001bd04861ebbcfee6ccf5947cd90afac5ac.tar.gz troggle-cad8001bd04861ebbcfee6ccf5947cd90afac5ac.tar.bz2 troggle-cad8001bd04861ebbcfee6ccf5947cd90afac5ac.zip |
Use django-registration, not a local copy.
This old one is uses deprecated hashcompat.
Diffstat (limited to 'registration/management/commands/cleanupregistration.py')
-rw-r--r-- | registration/management/commands/cleanupregistration.py | 19 |
1 files changed, 0 insertions, 19 deletions
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() |