From 593aa8ab6e865738df7dc588767eb49d45085275 Mon Sep 17 00:00:00 2001 From: xiaji Date: Tue, 13 Jan 2026 21:19:37 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BA=86settings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- diary_family/settings.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/diary_family/settings.py b/diary_family/settings.py index a4db640..23cb600 100644 --- a/diary_family/settings.py +++ b/diary_family/settings.py @@ -173,3 +173,7 @@ STATIC_ROOT = BASE_DIR / 'staticfiles' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_PORT = 25 # 或根据你的 SMTP 服务器设置 + +# Reports files configuration +REPORTS_URL = '/reports/' +REPORTS_ROOT = BASE_DIR / 'reports' # 可以修改为其他路径 \ No newline at end of file