Update settings.py

This commit is contained in:
2024-09-08 23:49:22 +10:00
parent 0ab13fff65
commit 20a53c56b8
+2
View File
@@ -106,3 +106,5 @@ INTERNAL_IPS = [
# Add this at the end of the file
STATICFILES_STORAGE = 'whitenoise.storage.CompressedManifestStaticFilesStorage'
CSRF_TRUSTED_ORIGINS = os.environ.get('CSRF_TRUSTED_ORIGINS', '').split(',')