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

settings: Fix CSRF settings for Django >=4 #387

Merged
merged 1 commit into from
Jan 21, 2022

Conversation

hartwork
Copy link
Owner

Symptom was that POSTing to /create would fail with message Origin checking failed - https://jawanndenn.de does not match any trusted origins.

Related docs:
https://docs.djangoproject.com/en/4.0/ref/settings/#csrf-trusted-origins

Symptom was that POST'ing to /create would fail with message
"Origin checking failed - https://jawanndenn.de does not match
any trusted origins."

Related docs:
https://docs.djangoproject.com/en/4.0/ref/settings/#csrf-trusted-origins
@hartwork hartwork added the bug label Jan 21, 2022
@hartwork hartwork merged commit daaf2a2 into master Jan 21, 2022
@hartwork hartwork deleted the fix-csrf-settings-for-django-4 branch January 21, 2022 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant