Skip to content

Commit 1316a31

Browse files
committed
fix: test CSRF_HEADER_NAME
1 parent 6f82e10 commit 1316a31

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

settings.py

+2
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,5 @@
5656
# https://docs.djangoproject.com/en/3.2/topics/http/sessions/
5757

5858
SESSION_ENGINE = "api.models.session"
59+
60+
CSRF_HEADER_NAME = "HTTP_CSRFTOKEN"

0 commit comments

Comments
 (0)