Commits

James Bennett committed 2ce5c10 Merge

Merge out the extraneous head

Comments (0)

Files changed (17)

AUTHORS.txt

File contents unchanged.

CHANGELOG.txt

File contents unchanged.

INSTALL.txt

File contents unchanged.

LICENSE.txt

File contents unchanged.

MANIFEST.in

File contents unchanged.

README.txt

File contents unchanged.

docs/forms.txt

File contents unchanged.

docs/models.txt

File contents unchanged.

docs/overview.txt

File contents unchanged.

docs/views.txt

File contents unchanged.

registration/bin/delete_expired_users.py

+"""
+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()

registration/forms.py

File contents unchanged.

registration/locale/el/LC_MESSAGES/django.po

File contents unchanged.

registration/models.py

File contents unchanged.

registration/urls.py

File contents unchanged.

registration/views.py

File contents unchanged.

setup.py

File contents unchanged.