#36512: The range of the pagination block on the admin ChangeList page is
incorrect.
-------------------------------------+-------------------------------------
     Reporter:  Antoliny             |                     Type:  Bug
       Status:  new                  |                Component:
                                     |  contrib.admin
      Version:  5.2                  |                 Severity:  Normal
     Keywords:  changelist,          |             Triage Stage:
  pagination                         |  Unreviewed
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
 Recently, accessibility improvements were made to the `ChangeList`
 pagination on the admin page.[https://github.com/django/django/pull/19448
 PR]
 As part of that process, the save button that was previously within the
 pagination block was separated.
 However, the current pagination block still includes the save button
 within its range.
 {{{
         {% block pagination %}
         <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>
 }}}
 As a result, when overriding the template and customizing the contents of
 the pagination block, the save button may be unintentionally removed.
 The range of the pagination block should be adjusted to include only the
 pagination template tags.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36512>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/django-updates/0107019827cfcba1-ba4e9ffb-5680-4809-a987-0898178d6af4-000000%40eu-central-1.amazonses.com.

Reply via email to