Skip to content

Commit

Permalink
Added link to the csrf template tag in the csrf page.
Browse files Browse the repository at this point in the history
  • Loading branch information
alexgmin authored and sarahboyce committed May 6, 2024
1 parent 6345a6f commit dba0504
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/csrf.txt
Expand Up @@ -43,7 +43,7 @@ The CSRF protection is based on the following things:
a mask. The mask is generated randomly on every call to ``get_token()``, so
the form field value is different each time.

This part is done by the template tag.
This part is done by the :ttag:`csrf_token` template tag.

#. For all incoming requests that are not using HTTP GET, HEAD, OPTIONS or
TRACE, a CSRF cookie must be present, and the 'csrfmiddlewaretoken' field
Expand Down

0 comments on commit dba0504

Please sign in to comment.