This commit is contained in:
halcyon
2015-04-11 12:52:00 +08:00
parent 30fd160079
commit 9cfe6c569d
25 changed files with 1403 additions and 297 deletions

View File

@@ -24,11 +24,11 @@ DB_PASSWORD = config.get('db', 'password')
DB_DATABASE = config.get('db', 'database')
# mail config
EMAIL_HOST = 'mail.funshion.com'
EMAIL_PORT = '25'
EMAIL_HOST_USER = 'jkfunshion'
EMAIL_HOST_PASSWORD = 'jkmail%'
EMAIL_USE_TLS = False
EMAIL_HOST = config.get('mail', 'email_host')
EMAIL_PORT = config.get('mail', 'email_port')
EMAIL_HOST_USER = config.get('mail', 'email_host_user')
EMAIL_HOST_PASSWORD = config.get('mail', 'email_host_password')
EMAIL_USE_TLS = config.getboolean('mail', 'email_use_tls')
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.7/howto/deployment/checklist/