mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Slight change making emails work on the console
This commit is contained in:
@@ -91,8 +91,8 @@ LOGOUT_URL = '/user/logout'
|
||||
ACCOUNT_ACTIVATION_DAYS = 7
|
||||
|
||||
# Email
|
||||
EMAIL_TEST = False
|
||||
if not DEBUG or EMAIL_TEST:
|
||||
EMAILER_TEST = False
|
||||
if not DEBUG or EMAILER_TEST:
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||
else:
|
||||
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
|
||||
|
||||
Reference in New Issue
Block a user