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