Commit Graph

3 Commits

Author SHA1 Message Date
7c49bf3ce4 将127.0.0.1添加至ALLOWED_HOSTS与CSRF_TRUSTED_ORIGINS(example) 2026-02-25 22:05:29 +08:00
528225300a feat: integrate python-decouple for environment-based configuration
Replace hardcoded SECRET_KEY, DEBUG, ALLOWED_HOSTS, SITE_NAME, COPYRIGHT_TEXT
with decouple.config() calls; add CSRF_TRUSTED_ORIGINS support via .env.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 17:03:59 +08:00
8b57a7b66a Initial commit: Django gallery project
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-02-25 16:47:17 +08:00