Skip to content

Add note about CSRF_TRUSTED_ORIGINS - #1319

Merged
TG1999 merged 1 commit into
aboutcode-org:mainfrom
Hritik14:docs/django_4_update_csrf
Oct 5, 2023
Merged

Add note about CSRF_TRUSTED_ORIGINS#1319
TG1999 merged 1 commit into
aboutcode-org:mainfrom
Hritik14:docs/django_4_update_csrf

Conversation

@Hritik14

@Hritik14 Hritik14 commented Oct 5, 2023

Copy link
Copy Markdown
Collaborator

With Django 4.0+ setting CSRF_TRUSTED_ORIGINS is necessary. Refer: https://stackoverflow.com/a/70326426/2251364

ScanCodeIO already recommends this setting in the following section: https://scancodeio.readthedocs.io/en/latest/installation.html#run-the-app

With Django 4.0+ setting CSRF_TRUSTED_ORIGINS is necessary. Refer:
https://stackoverflow.com/a/70326426/2251364

ScanCodeIO already recommends this setting in the following section:
https://scancodeio.readthedocs.io/en/latest/installation.html#run-the-app

Signed-off-by: Hritik Vijay <hey@hritik.sh>
@TG1999

TG1999 commented Oct 5, 2023

Copy link
Copy Markdown
Contributor

@Hritik14 thanks++, please sign of your commit : )

@Hritik14
Hritik14 force-pushed the docs/django_4_update_csrf branch from 879026b to 5461fc9 Compare October 5, 2023 09:31

@TG1999 TG1999 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks++

@TG1999
TG1999 merged commit e2ccc70 into aboutcode-org:main Oct 5, 2023
@Hritik14
Hritik14 deleted the docs/django_4_update_csrf branch October 6, 2023 02:56
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