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:
parent
636d701ded
commit
b73510902f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user