Explorar el Código

把正式服务器的debug模式关闭

tanghongbin hace 4 años
padre
commit
1b36b9ee08
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      AnsjerPush/formal_settings.py

+ 1 - 1
AnsjerPush/formal_settings.py

@@ -2,7 +2,7 @@ import os
 
 BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
 SECRET_KEY = '$2hf5g$a%_^kk0-l25l$!o5)yc=dvtnfpc8(+$rh4fq4twa_xx'
-DEBUG = True
+DEBUG = False
 ALLOWED_HOSTS = ["*"]
 
 INSTALLED_APPS = [