1
0
mirror of https://github.com/django/django.git synced 2025-01-13 20:07:13 +00:00

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

Backport of 5b52376d9f from main
This commit is contained in:
Nanami 2023-12-14 22:09:34 +09:00 committed by Natalia
parent 636d701ded
commit b73510902f

View File

@ -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