mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Updated some email settings to be used in production
This commit is contained in:
@@ -95,6 +95,11 @@ ACCOUNT_ACTIVATION_DAYS = 7
|
||||
EMAILER_TEST = False
|
||||
if not DEBUG or EMAILER_TEST:
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||
EMAIL_HOST = 'server.techost.co.uk'
|
||||
EMAIL_PORT = 465
|
||||
EMAIL_HOST_USER = 'tec'
|
||||
EMAIL_HOST_PASSWORD = '***REMOVED***'
|
||||
DEFAULT_FROM_EMAIL = 'rigs@nottinghamtec.co.uk'
|
||||
else:
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
@@ -138,4 +143,4 @@ TEMPLATE_DIRS = (
|
||||
os.path.join(BASE_DIR, 'templates'),
|
||||
)
|
||||
|
||||
TERMS_OF_HIRE_URL = "http://dev.nottinghamtec.co.uk/wp-content/uploads/2014/11/terms.pdf"
|
||||
TERMS_OF_HIRE_URL = "http://dev.nottinghamtec.co.uk/wp-content/uploads/2014/11/terms.pdf"
|
||||
|
||||
Reference in New Issue
Block a user