Add CSRF_TRUSTED_ORIGINS from environment
Some checks failed
Build and push Docker image / build (push) Successful in 12s
Test / test (push) Failing after 2s

This commit is contained in:
marwin 2026-03-16 19:58:18 +01:00
parent c787e55ef3
commit 50d9c603bd

View file

@ -12,6 +12,8 @@ DEBUG = os.environ.get('DEBUG', 'True') == 'True'
ALLOWED_HOSTS = os.environ.get('ALLOWED_HOSTS', 'localhost 127.0.0.1').split()
CSRF_TRUSTED_ORIGINS = os.environ.get('CSRF_TRUSTED_ORIGINS', '').split()
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',