Przeglądaj źródła

修改配置信息

zhaiyifei 2 lat temu
rodzic
commit
77697abca5
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2 2
      bigdataAPI/settings.py

+ 2 - 2
bigdataAPI/settings.py

@@ -24,9 +24,9 @@ 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 = False
+DEBUG = True
 
-if DEBUG == True:
+if DEBUG:
     config_path = os.path.join(BASE_DIR,"test.json")
 else:
     config_path = os.path.join(BASE_DIR,"formal.json")