Userena comes with a few settings that enables you to tweak the user experience for you users. There are also a few Django settings that are relevant for Userena.
Default /accounts/%(username)s/' (string)
A string which defines the URI where the user will be redirected to after signin.
Default: 7 (integer)
A integer which stands for the amount of days a user has to activate their account. The user will be deleted when they still haven’t activated their account after these amount of days by running the cleanexpired command.
Default: True (boolean)
A boolean that turns on/of the sending of a notification when USERENA_ACTIVATION_NOTIFY_DAYS away the activation of the user will expire and the user will be deleted.
Default: 2 (integer)
The amount of days, before the expiration of an account, that a notification get’s send out. Warning the user of his coming demise.
Default: ALREADY_ACTIVATED (string)
String that defines the value that the activation_key will be set to after a successful signup.
Default: (gettext('a month'), 30)) (tuple)
A tuple containing a string and an integer which stand for the amount of days a user can choose to be remembered by your project. The string is the human readable version that gets displayed in the form. The integer stands for the amount of days that this string represents.
Default: ('signup', 'signout', 'signin', 'activate', 'me', 'password') (tuple)
A tuple containing the names which cannot be used as username in the signup form.
Default: True (boolean)
A boolean defining if mugshots should fallback to Gravatar service when no mugshot is uploaded by the user.
Default: identicon (string)
A string for the default image used when no mugshot is found. This can be either a URI to an image or if USERENA_MUGSHOT_GRAVATAR is True one of the following options:
Default: 80 (int)
Integer defining the size (in pixels) of the sides of the mugshot image.
Default: mugshots/ (string)
The default path that the mugshots will be saved to. Is appended to the MEDIA_PATH in your Django settings.
Default: False (boolean)
Boolean that defines if you have a secure version of your website. If so, userena will redirect sensitive URI’s to the secure protocol.
Default: registered (string)
Defines the default privacy value for a newly registered user. There are three options:
Default: False (boolean)
Boolean value that defines if the profile_list view is enabled within the project. If so, users can view a list of different profiles.
Default: True (boolean)
Boolean value that defines if userena should use the django messages framework to notify the user of any changes.
Default: language (string)
The language field that is used in the custom profile to define the preferred language of the user.
Default: /accounts/login/ (string)
The URL where requests are redirected for login, especially when using the login_required() decorator.
In userena this URI normally would be /accounts/signin/.
Default: /accounts/logout/ (string) LOGIN_URL counterpart.
In userena this URI normally would be /accounts/signout/.