fix(设置): 修复env的引入bug
This commit is contained in:
@@ -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/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user