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/