1
0
mirror of https://github.com/django/django.git synced 2025-10-31 09:41:08 +00:00

Fixed #21495 -- Added settings.CSRF_HEADER_NAME

This commit is contained in:
Grzegorz Slusarek
2015-02-21 22:57:02 +01:00
committed by Tim Graham
parent 8e744fa150
commit 668d53cd12
7 changed files with 41 additions and 1 deletions

View File

@@ -142,6 +142,12 @@ Models
managers created by ``ForeignKey``, ``GenericForeignKey``, and
``ManyToManyField``.
CSRF
^^^^
* The request header's name used for CSRF authentication can be customized
with :setting:`CSRF_HEADER_NAME`.
Signals
^^^^^^^