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 committed Apr 26, 2024
1 parent c8df2f9 commit aa54891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ref/csrf.txt
Original file line number Diff line number Diff line change
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 template tag :ttag:`csrf_token`.

#. 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 aa54891

Please sign in to comment.