mirror of
https://github.com/django/django.git
synced 2025-01-03 15:06:09 +00:00
Fixed HTML code snippet in Tutorial's part 7 when customizing the admin's site header.
This commit is contained in:
parent
d6c868a184
commit
5b52376d9f
@ -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