From 802ee7f50ea957c542d16abc07f66ae92e82fea5 Mon Sep 17 00:00:00 2001 From: china_ahhui Date: Tue, 10 Oct 2023 17:12:33 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=AE=BE=E7=BD=AE):=20=E4=BF=AE=E5=A4=8Den?= =?UTF-8?q?v=E7=9A=84=E5=BC=95=E5=85=A5bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/application/settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/application/settings.py b/backend/application/settings.py index b311bae..9e39c04 100644 --- a/backend/application/settings.py +++ b/backend/application/settings.py @@ -15,8 +15,6 @@ import sys from pathlib import Path from datetime import timedelta -from conf.env import * - # Build paths inside the project like this: BASE_DIR / 'subdir'. BASE_DIR = Path(__file__).resolve().parent.parent @@ -24,6 +22,8 @@ BASE_DIR = Path(__file__).resolve().parent.parent # ******************** 动态配置 ******************** # # ================================================= # +from conf.env import * + # Quick-start development settings - unsuitable for production # See https://docs.djangoproject.com/en/3.2/howto/deployment/checklist/