mirror of
https://github.com/django/django.git
synced 2025-06-05 03:29:12 +00:00
[5.0.x] Fixed HTML code snippet in Tutorial's part 7 when customizing the admin's site header.
Backport of 5b52376d9f55fa7889f39225e6035c6d69168b71 from main
This commit is contained in:
parent
636d701ded
commit
b73510902f
@ -367,7 +367,7 @@ a section of code like:
|
|||||||
.. code-block:: html+django
|
.. code-block:: html+django
|
||||||
|
|
||||||
{% block branding %}
|
{% 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 %}
|
{% endblock %}
|
||||||
|
|
||||||
We use this approach to teach you how to override templates. In an actual
|
We use this approach to teach you how to override templates. In an actual
|
||||||
|
Loading…
x
Reference in New Issue
Block a user