1
0
mirror of https://github.com/django/django.git synced 2025-01-03 06:55:47 +00:00

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

This commit is contained in:
Nanami 2023-12-14 22:09:34 +09:00 committed by GitHub
parent d6c868a184
commit 5b52376d9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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