Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CSRF_TRUSTED_ORIGINS to settings.py #775

Merged
merged 1 commit into from
Sep 7, 2023

Conversation

dchiller
Copy link
Collaborator

@dchiller dchiller commented Sep 7, 2023

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.

@dchiller dchiller merged commit 5c05b2b into DDMAL:main Sep 7, 2023
2 checks passed
@dchiller dchiller deleted the add-csrf-trusted-hosts branch September 7, 2023 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants