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

Remove additional variable for CSRF_TRUSTED_ORIGINS added for Django 4.2 #460

Open
21 tasks
iamsobanjaved opened this issue Sep 26, 2023 · 0 comments
Open
21 tasks

Comments

@iamsobanjaved
Copy link
Member

In #459, we added a new variable in YAMLs named CSRF_TRUSTED_ORIGINS_WITH_SCHEMES to keep compatibility for both Django 3.2 and 4.2. But now we have upgraded to Django 4.2, we can remove the additional condition and variable.

A/C

  • Replace the value of CSRF_TRUSTED_ORIGINS with the value of CSRF_TRUSTED_ORIGINS_WITH_SCHEMES and remove CSRF_TRUSTED_ORIGINS_WITH_SCHEMES.
  • Remove the condition added in the IDAs settings file (mostly production.py)

IDAs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant