diff options
Diffstat (limited to 'registration/management')
-rw-r--r-- | registration/management/__init__.py | 0 | ||||
-rw-r--r-- | registration/management/commands/__init__.py | 0 | ||||
-rw-r--r-- | registration/management/commands/cleanupregistration.py | 19 |
3 files changed, 0 insertions, 19 deletions
diff --git a/registration/management/__init__.py b/registration/management/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/registration/management/__init__.py +++ /dev/null diff --git a/registration/management/commands/__init__.py b/registration/management/commands/__init__.py deleted file mode 100644 index e69de29..0000000 --- a/registration/management/commands/__init__.py +++ /dev/null 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() |