From c65f49d3cb8709f2f694f78b4849bc7693e90416 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Wed, 3 Jan 2024 21:17:57 +0000 Subject: [PATCH] Refs #33690 -- Updated tutorial for admin dark mode toggle. --- docs/intro/tutorial07.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/intro/tutorial07.txt b/docs/intro/tutorial07.txt index f53d0b524c..9cdadbe286 100644 --- a/docs/intro/tutorial07.txt +++ b/docs/intro/tutorial07.txt @@ -368,6 +368,9 @@ a section of code like: {% block branding %}
Polls Administration
+ {% if user.is_anonymous %} + {% include "admin/color_theme_toggle.html" %} + {% endif %} {% endblock %} We use this approach to teach you how to override templates. In an actual