From 27151e13c4b61fed42f19a2f07be0b1e73aacecc Mon Sep 17 00:00:00 2001 From: Phinart98 Date: Sat, 2 May 2026 00:40:38 +0000 Subject: [PATCH 1/2] Fixed #36229 -- Improved SVG icon color contrast in django/views/templates/default_urlconf.html. --- django/views/templates/default_urlconf.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/django/views/templates/default_urlconf.html b/django/views/templates/default_urlconf.html index bda2677eeb3d..294088e1ced7 100644 --- a/django/views/templates/default_urlconf.html +++ b/django/views/templates/default_urlconf.html @@ -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%; } From dca76b15c62a1118325b71678ce3235e2231198d Mon Sep 17 00:00:00 2001 From: VIZZARD-X Date: Wed, 22 Apr 2026 23:54:49 +0530 Subject: [PATCH 2/2] Fixed #37032 -- Documented that the CSRF context processor is always enabled in its reference documentation. --- docs/ref/templates/api.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt index 2d22f3379562..89556c3a5938 100644 --- a/docs/ref/templates/api.txt +++ b/docs/ref/templates/api.txt @@ -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 `. +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`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~