部分信息放入 custom_settings 里面

This commit is contained in:
virusdefender
2016-01-28 20:36:24 +08:00
parent 480050fac3
commit 78017df6b6
12 changed files with 44 additions and 164 deletions

View File

@@ -22,6 +22,8 @@ if ENV == "local":
elif ENV == "server":
from .server_settings import *
from .custom_settings import *
import djcelery
djcelery.setup_loader()
@@ -31,10 +33,6 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'hzfp^8mbgapc&x%$#xv)0=t8s7_ilingw(q3!@h&2fty6v6fxz'
# Application definition
INSTALLED_APPS = (