fix(设置): 修复env的引入bug

This commit is contained in:
china_ahhui
2023-10-10 17:12:33 +08:00
parent 084d1c0c3e
commit 802ee7f50e

View File

@@ -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/