Return to API Reference
Extra functionality for the Userena model.
Activate an User by supplying a valid activation_key.
If the key is valid and an user is found, activate the user and return it.
Checks that all permissions are set correctly for the users.
Returns a set of users whose permissions was wrong.
Confirm an email address by checking a confirmation_key.
A valid confirmation_key will set the newly wanted e-mail address as the current e-mail address. Returns the user after success or False when the confirmation key is invalid.
A simple wrapper that creates a new User.
Creates an userena profile
Checks for expired users and delete’s the User associated with it. Skips if the user is_staff.
Returns a list of the deleted users.
Manager for UserenaProfile
Returns all the visible profiles available to this user.
For now keeps it simple by just applying the cases when a user is not active, a user has it’s profile closed to everyone or a user only allows registered users to view their profile.
Keyword Arguments