Slight change making emails work on the console

This commit is contained in:
tomtom5152
2014-11-06 00:11:04 +00:00
parent 0ddbfd0bd3
commit 1443e26a35

View File

@@ -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'