Fix environment variable handling for production deployment

- Update settings.py to support both ALLOWED_HOSTS and DJANGO_ALLOWED_HOSTS
- Add production CSRF_TRUSTED_ORIGINS for vhtv-stiftung.de
- Update env-template.txt with production variable examples
- Improve compatibility between development and production environments
This commit is contained in:
Stiftung Development
2025-09-09 21:02:21 +02:00
parent 0c4b0fd48c
commit edfb233348
15 changed files with 1281 additions and 6 deletions

18
.gitignore vendored
View File

@@ -111,3 +111,21 @@ celerybeat-schedule
.mypy_cache/
.dmypy.json
dmypy.json
logs
dev-debug.log
# Dependency directories
# Environment variables
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
# OS specific
# Task files
# tasks.json
# tasks/