[Django] #37029: change_list.html: Broken markup inside {% block pagination %}

9 views
Skip to first unread message

Django

unread,
Apr 10, 2026, 9:46:56 PMApr 10
to django-...@googlegroups.com
#37029: change_list.html: Broken markup inside {% block pagination %}
-------------------------------------+-------------------------------------
Reporter: Oganes Gambaryan | Type: Bug
Status: new | Component:
| contrib.admin
Version: dev | Severity: Normal
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
-------------------------------------+-------------------------------------
{{{contrib/admin/templates/admin/change_list.html}}}:
* The layout is fine without overriding the {{{pagination}}} block.
* The layout will be broken if {{{pagination}}} block is overridden by
child templates.

The fix below:
{{{
diff --git a/django/contrib/admin/templates/admin/change_list.html
b/django/contrib/admin/templates/admin/change_list.html
index 78eef88294..3b1aa04615 100644
--- a/django/contrib/admin/templates/admin/change_list.html
+++ b/django/contrib/admin/templates/admin/change_list.html
@@ -92,8 +92,8 @@
<div class="changelist-footer">
{% pagination cl %}
{% if cl.formset and cl.result_count %}<input type="submit"
name="_save" class="default" value="{% translate 'Save' %}">{% endif %}
- {% endblock %}
</div>
+ {% endblock %}
</form>
</div>
</div>
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/37029>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Apr 11, 2026, 2:30:59 AMApr 11
to django-...@googlegroups.com
#37029: change_list.html: Broken markup inside {% block pagination %}
----------------------------------+--------------------------------------
Reporter: Oganes Gambaryan | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
----------------------------------+--------------------------------------
Changes (by MANAS MADESHIYA):

* cc: MANAS MADESHIYA (added)

--
Ticket URL: <https://code.djangoproject.com/ticket/37029#comment:1>

Django

unread,
Apr 11, 2026, 4:57:21 AMApr 11
to django-...@googlegroups.com
#37029: change_list.html: Broken markup inside {% block pagination %}
----------------------------------+--------------------------------------
Reporter: Oganes Gambaryan | Owner: (none)
Type: Bug | Status: new
Component: contrib.admin | Version: dev
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 1
----------------------------------+--------------------------------------
Comment (by harshitha1869):

Hi, I’d like to work on this issue. I’ve started exploring the
change_list.html file and will submit a patch soon.
--
Ticket URL: <https://code.djangoproject.com/ticket/37029#comment:2>
Reply all
Reply to author
Forward
0 new messages