Opened 3 years ago

Closed 3 years ago

#33316 closed New feature (fixed)

History view should be paginated by default.

Reported by: Maxim Danilov Owned by: Marcelo Galigniana
Component: contrib.admin Version: dev
Severity: Normal Keywords: django_admin_log, modeladmin history
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

django admin model history dont have a pagination.

i have a project start in 2012. History is big.

If i have more than 1000 line history of object, it works slowly.
and one object have more than 20 000 changes. history not works - long loading and after browser crach.

I think it should be paginated.

Change History (7)

comment:1 by Mariusz Felisiak, 3 years ago

Keywords: django_admin_log added; dajyngo_admin_log removed
Summary: django admin model history paginationHistory view should be paginated by default.
Triage Stage: UnreviewedAccepted
Type: BugNew feature
Version: 3.2dev

Thanks for the report, sounds reasonable. Currently, it's possible to add pagination by overriding ModelAdmin.history_view().

comment:2 by Marcelo Galigniana, 3 years ago

Owner: changed from nobody to Marcelo Galigniana
Status: newassigned

comment:3 by Marcelo Galigniana, 3 years ago

Has patch: set
Version 0, edited 3 years ago by Marcelo Galigniana (next)

comment:4 by Mariusz Felisiak, 3 years ago

Needs documentation: set
Needs tests: set

comment:5 by Mariusz Felisiak, 3 years ago

Needs documentation: unset
Needs tests: unset
Triage Stage: AcceptedReady for checkin

comment:6 by Mariusz Felisiak <felisiak.mariusz@…>, 3 years ago

In ff0b81b5:

Refs #33316 -- Moved paginator styles to base.css.

comment:7 by Mariusz Felisiak <felisiak.mariusz@…>, 3 years ago

Resolution: fixed
Status: assignedclosed

In ac5cc6c:

Fixed #33316 -- Added pagination to admin history view.

Note: See TracTickets for help on using tickets.
Back to Top