1. seanoc
  2. django-registration

Commits

James Bennett  committed 2ce5c10 Merge

Merge out the extraneous head

  • Participants
  • Parent commits 00a5396, 2a7667b
  • Branches default

Comments (0)

Files changed (17)

File AUTHORS.txt

  • Ignore whitespace
File contents unchanged.

File CHANGELOG.txt

  • Ignore whitespace
File contents unchanged.

File INSTALL.txt

  • Ignore whitespace
File contents unchanged.

File LICENSE.txt

  • Ignore whitespace
File contents unchanged.

File MANIFEST.in

  • Ignore whitespace
File contents unchanged.

File README.txt

  • Ignore whitespace
File contents unchanged.

File docs/forms.txt

  • Ignore whitespace
File contents unchanged.

File docs/models.txt

  • Ignore whitespace
File contents unchanged.

File docs/overview.txt

  • Ignore whitespace
File contents unchanged.

File docs/views.txt

  • Ignore whitespace
File contents unchanged.

File registration/bin/delete_expired_users.py

View file
  • Ignore whitespace
+"""
+A script which removes expired/inactive user accounts from the
+database.
+
+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/delete_expired_users.py
+
+See the method ``delete_expired_users`` of the ``RegistrationManager``
+class in ``registration/models.py`` for further documentation.
+
+"""
+
+if __name__ == '__main__':
+    from registration.models import RegistrationProfile
+    RegistrationProfile.objects.delete_expired_users()

File registration/forms.py

  • Ignore whitespace
File contents unchanged.

File registration/locale/el/LC_MESSAGES/django.po

  • Ignore whitespace
File contents unchanged.

File registration/models.py

  • Ignore whitespace
File contents unchanged.

File registration/urls.py

  • Ignore whitespace
File contents unchanged.

File registration/views.py

  • Ignore whitespace
File contents unchanged.

File setup.py

  • Ignore whitespace
File contents unchanged.