Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added link to the csrf template tag in the csrf documentation page #18106

Merged
merged 1 commit into from
May 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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 :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