James Bennett  committed 482b7fe

Removing delete_expired_users since the management command does that now

  • Participants
  • Parent commits 216c258
  • Branches default

Comments (0)

Files changed (1)

File registration/bin/

-A script which removes expired/inactive user accounts from the
-This is intended to be run as a cron job; for example, to have it run
-at midnight each Sunday, you could add lines like the following to
-your crontab::
-    DJANGO_SETTINGS_MODULE=yoursite.settings
-    0 0 * * sun python /path/to/registration/bin/
-See the method ``delete_expired_users`` of the ``RegistrationManager``
-class in ``registration/`` for further documentation.
-if __name__ == '__main__':
-    from registration.models import RegistrationProfile
-    RegistrationProfile.objects.delete_expired_users()