mirror of
https://github.com/django/django.git
synced 2025-08-04 10:59:45 +00:00
Moved CSRF docs out of contrib.
This commit is contained in:
parent
d968bd5258
commit
d3db878e4b
16 changed files with 24 additions and 32 deletions
|
@ -374,7 +374,7 @@ CSRF_COOKIE_NAME
|
|||
Default: ``'csrftoken'``
|
||||
|
||||
The name of the cookie to use for the CSRF authentication token. This can be whatever you
|
||||
want. See :doc:`/ref/contrib/csrf`.
|
||||
want. See :doc:`/ref/csrf`.
|
||||
|
||||
.. setting:: CSRF_COOKIE_PATH
|
||||
|
||||
|
@ -415,7 +415,7 @@ is rejected by the CSRF protection. The function should have this signature::
|
|||
|
||||
where ``reason`` is a short message (intended for developers or logging, not for
|
||||
end users) indicating the reason the request was rejected. See
|
||||
:doc:`/ref/contrib/csrf`.
|
||||
:doc:`/ref/csrf`.
|
||||
|
||||
.. setting:: DATABASES
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue