Settings Variables

These are the variables that you can set from settings.py to change some features of the app.

EMAIL_SUBJECT_PREFIX (=None): Subject prefix in emails sent by the system.

MAX_SIZE_FILE (=10): Maximum size allowed for file uploads (expressed in Mb).

SESSION_EXPIRE_TIME (=60): Duration of inactivity in the user session. Once the indicated time has elapsed without activity, the user’s session is closed (# expressed in minutes).

IP_AUTH_CODE_EXPIRE_DAYS (=1): Determines the expiration time of the authorization code of the new device and ip (# expressed in days).

EMAIL_IP_AUTH_CODE_COOLDOWN (=540): The waiting period (in seconds), after a new device and ip authorization email is sent, during which no further emails are sent.

TEMPLATES_EMAIL_DEFAULT (=List): List of email templates that are created by default as a connection to the email provider.

Example:

[
    "Confirm Email",
    "Change Email",
    "Reset Password",
    "IP Authorization",
    "Notify IP",
]