|
|
@@ -23,7 +23,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
|
|
|
SECRET_KEY = '$rs)*w)9gh)nkf1=@r$2xguf1b(qz8ba!%hm8lwt54ti3_da^b'
|
|
|
|
|
|
# SECURITY WARNING: don't run with debug turned on in production!
|
|
|
-DEBUG = True
|
|
|
+DEBUG = False
|
|
|
|
|
|
ALLOWED_HOSTS = ['*']
|
|
|
|
|
|
@@ -81,13 +81,13 @@ WSGI_APPLICATION = 'bigdataAPI.wsgi.application'
|
|
|
if DEBUG:
|
|
|
USER_CONFIG = {
|
|
|
'mysql': {
|
|
|
- 'host': '114.115.147.140',
|
|
|
+ 'host': 'localhost',
|
|
|
'user': 'root',
|
|
|
'pwd': 'yfkj@6020',
|
|
|
'port': 3306
|
|
|
},
|
|
|
'mongodb': {
|
|
|
- 'host': '114.115.147.140',
|
|
|
+ 'host': 'localhost',
|
|
|
'user': 'root',
|
|
|
'pwd': 'yfkj@6020',
|
|
|
'port': 27017
|