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>
This commit is contained in:
2026-02-25 17:03:59 +08:00
parent 8b57a7b66a
commit 528225300a
3 changed files with 12 additions and 8 deletions

View File

@@ -3,4 +3,5 @@ Pillow==10.0.0
django-cleanup==8.0.0
django-imagekit==4.1.0
django-taggit==4.0.0
python-slugify==8.0.1
python-slugify==8.0.1
python-decouple==3.8