添加演示环境中间件

This commit is contained in:
xie7654
2025-07-05 10:09:23 +08:00
parent e14730bee7
commit 98060beea9
8 changed files with 81 additions and 7 deletions

View File

@@ -7,7 +7,8 @@ MYSQL_PORT=3306
MYSQL_ROOT_PASSWORD=58ce16c2ee80311e130b30f11160ef77e0ac6aa7
# Django
DEBUG=False
DEBUG=True
DEMO_MODE=False
DJANGO_ALLOWED_HOSTS=*
DB_NAME=django_vue
DB_USER=root

View File

@@ -17,7 +17,8 @@ MYSQL_PORT=3306
MYSQL_ROOT_PASSWORD=58ce16c2ee80311e130b30f11160ef77e0ac6aa7
# Django
DEBUG=False
DEBUG=True
DEMO_MODE=False
DJANGO_ALLOWED_HOSTS=*
DB_NAME=django_vue
DB_USER=root

View File

@@ -10,6 +10,7 @@ MYSQL_ROOT_PASSWORD=58ce16c2ee80311e130b30f11160ef77e0ac6aa7
# Django
DEBUG=False
DEMO_MODE=False
DJANGO_ALLOWED_HOSTS=*
DB_NAME=django_vue
DB_USER=root