Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions django/views/templates/default_urlconf.html
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@
.option svg {
width: 1.5rem;
height: 1.5rem;
fill: light-dark(gray, white);
border: 1px solid #d6d6d6;
fill: currentColor;
border: 1px solid currentColor;
padding: 5px;
border-radius: 100%;
}
Expand Down
3 changes: 3 additions & 0 deletions docs/ref/templates/api.txt
Original file line number Diff line number Diff line change
Expand Up @@ -804,6 +804,9 @@ This processor adds a token that is needed by the :ttag:`csrf_token` template
tag for protection against :doc:`Cross Site Request Forgeries
</ref/csrf>`.

This is always enabled by :class:`~django.template.RequestContext` and cannot
be disabled. You do not need to include it within ``context_processors``.

``django.template.context_processors.csp``
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Expand Down
Loading