2015-10-03 01:07:05 +00:00
|
|
|
from .base import *
|
|
|
|
import environ
|
|
|
|
|
2016-02-08 21:40:50 +00:00
|
|
|
env = environ.Env()
|
|
|
|
|
2015-10-03 01:07:05 +00:00
|
|
|
environ.Env.read_env()
|
|
|
|
|
|
|
|
DEBUG = False
|
2016-02-08 21:40:50 +00:00
|
|
|
SECRET_KEY = env('SECRET_KEY')
|
|
|
|
ALLOWED_HOSTS = env('ALLOWED_HOSTS').split(',')
|
2015-10-03 01:07:05 +00:00
|
|
|
|
|
|
|
DATABASES = {
|
|
|
|
'default': env.db(),
|
|
|
|
}
|
2016-05-02 20:38:49 +00:00
|
|
|
|
|
|
|
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')
|