Management commands

Until now, there is only one management command, documented below.

clear_expired_signups

This command is used to delete from the database user registrations that are more than SIGNUP_ACTIVATION_DAYS days old and haven’t been activated yet.

It deletes both the signup.models.Validation instance and the user model instance. By that time, it’s worth noting that the username [1] registered by the original user becomes available again. If the original user still wants to keep that username, it has to register again.

Footnotes

[1]“username”, here, refers to the field marked as USERNAME_FIELD in current installed user model.

Table Of Contents

Previous topic

Templates

Next topic

Admin interface

This Page