更新了settings

This commit is contained in:
2026-01-13 21:19:37 +08:00
parent 2512326457
commit 593aa8ab6e

View File

@@ -173,3 +173,7 @@ STATIC_ROOT = BASE_DIR / 'staticfiles'
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend' EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_PORT = 25 # 或根据你的 SMTP 服务器设置 EMAIL_PORT = 25 # 或根据你的 SMTP 服务器设置
# Reports files configuration
REPORTS_URL = '/reports/'
REPORTS_ROOT = BASE_DIR / 'reports' # 可以修改为其他路径