DDMAL / cantus

:mag: Searching with Optical Music Recognition technology and the Cantus Database
http://cantus.simssa.ca
MIT License
15 stars 4 forks source link

Add CSRF_TRUSTED_ORIGINS to settings.py #775

Closed dchiller closed 1 year ago

dchiller commented 1 year ago

In getting Release 3.2-0.11.3 working on the staging server, I discovered that with our upgrade to Django 4, there were changes to Django's CSRF protection that require the CSRF_TRUSTED_ORIGINS setting in our case. This PR adds that setting. See https://docs.djangoproject.com/en/4.2/releases/4.0/#csrf-trusted-origins-changes-4-0.