Skip to content
Snippets Groups Projects
Commit 1319389c authored by Martin Burchell's avatar Martin Burchell
Browse files

Changed email backends for local and dev server

Temporarily changed local environment to use local smtp server
Changed dev server to use smtp rather than console

The default is SMTP
parent a7b02897
No related branches found
No related tags found
1 merge request!49Password reset
...@@ -29,7 +29,7 @@ DATABASES = { ...@@ -29,7 +29,7 @@ DATABASES = {
} }
EMAIL_HOST = 'localhost' EMAIL_HOST = 'localhost'
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' # EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend'
# turn off caching # turn off caching
CACHES = { CACHES = {
......
...@@ -29,7 +29,7 @@ DATABASES = { ...@@ -29,7 +29,7 @@ DATABASES = {
} }
EMAIL_HOST = 'localhost' EMAIL_HOST = 'localhost'
EMAIL_BACKEND = 'django.core.mail.backends.console.EmailBackend' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
# turn off caching # turn off caching
CACHES = { CACHES = {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment