move email settings

This commit is contained in:
Thomas Steen Rasmussen 2016-05-02 22:38:49 +02:00
parent 8d3ad2d0fb
commit 3d22c7374b
2 changed files with 7 additions and 7 deletions

View file

@ -85,10 +85,3 @@ ACCOUNT_USERNAME_REQUIRED = False
LOGIN_URL = '/login/' LOGIN_URL = '/login/'
ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https' ACCOUNT_DEFAULT_HTTP_PROTOCOL = 'https'
EMAIL_HOST = env('EMAIL_HOST')
EMAIL_PORT = env('EMAIL_PORT')
EMAIL_HOST_USER = env('EMAIL_HOST_USER')
EMAIL_HOST_PASSWORD = env('EMAIL_HOST_PASSWORD')
EMAIL_USE_TLS = env('EMAIL_USE_TLS')
EMAIL_FROM = env('EMAIL_FROM')

View file

@ -12,3 +12,10 @@ ALLOWED_HOSTS = env('ALLOWED_HOSTS').split(',')
DATABASES = { DATABASES = {
'default': env.db(), 'default': env.db(),
} }
EMAIL_HOST = env('EMAIL_HOST')
EMAIL_PORT = env('EMAIL_PORT')
EMAIL_HOST_USER = env('EMAIL_HOST_USER')
EMAIL_HOST_PASSWORD = env('EMAIL_HOST_PASSWORD')
EMAIL_USE_TLS = env('EMAIL_USE_TLS')
EMAIL_FROM = env('EMAIL_FROM')