瀏覽代碼

配置debug模式

peng 2 年之前
父節點
當前提交
f71285bb72
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      VSeesResourceWeb/settings.py

+ 1 - 1
VSeesResourceWeb/settings.py

@@ -23,7 +23,7 @@ BASE_DIR = Path(__file__).resolve().parent.parent
 SECRET_KEY = 'django-insecure-8^d+5c85+o1&_s)t3126gf8_8!tem^kiw5b4ph)wdxc(np68=n'
 
 # SECURITY WARNING: don't run with debug turned on in production!
-DEBUG = True
+DEBUG = False
 
 ALLOWED_HOSTS = ['*']