Browse Source

Fixed HTML code snippet in Tutorial's part 7 when customizing the admin's site header.

Nanami 1 year ago
parent
commit
5b52376d9f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/intro/tutorial07.txt

+ 1 - 1
docs/intro/tutorial07.txt

@@ -367,7 +367,7 @@ a section of code like:
 .. code-block:: html+django
 
     {% block branding %}
-    <div id="site-name"><a href="{% url 'admin:index' %}">Polls Administration</a><div>
+    <div id="site-name"><a href="{% url 'admin:index' %}">Polls Administration</a></div>
     {% endblock %}
 
 We use this approach to teach you how to override templates. In an actual