-
Notifications
You must be signed in to change notification settings - Fork 3
Settings.py variables
sv1jsb edited this page Aug 28, 2012
·
1 revision
You must set the relevant email variables in order to be able for the server to send registration emails to new users and password reset and change notifications to existing ones.
ACCOUNT_ACTIVATION_DAYS = 7 # How many days an activation will be valid
SERVER_EMAIL = "" # Main email address of server
DEFAULT_FROM_EMAIL = SERVER_EMAIL # This is used at all emails to users
EMAIL_HOST_USER = "" # Your smtp user
EMAIL_HOST_PASSWORD = "" # Your smtp password
EMAIL_HOST = "" # Smtp address
EMAIL_PORT = 25 # And port
EMAIL_USE_TLS = False # Use TLS or not
HAYSTACK_CONNECTIONS # Specifies the search machine
HAYSTACK_SEARCH_RESULTS_PER_PAGE # Pagination value
CELERYBEAT_SCHEDULE # Function to be called at the crontab specified
BROKER_URL BROKER_URL # Where to find the queue (broker)
CELERY_RESULT_BACKEND # Where to store results
NUMBER_OF_DWITS # How many dwits will be displayed before fetching more
NUMBER_OF_TAGS # How many tags to be displayed
For more information about each variable please visit the relevant projects.