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.
--
Ticket URL: <https://code.djangoproject.com/ticket/33316>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* keywords: dajyngo_admin_log, modeladmin history => django_admin_log,
modeladmin history
* type: Bug => New feature
* version: 3.2 => dev
* stage: Unreviewed => Accepted
Comment:
Thanks for the report, sounds reasonable. Currently, it's possible to add
pagination by overriding `ModelAdmin.history_view()`.
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:1>
* owner: nobody => Maxim Piskunov
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:2>
* owner: Maxim Piskunov => (none)
* status: assigned => new
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:3>
* owner: nobody => Marcelo Galigniana
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:2>
* has_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:3>
* needs_docs: 0 => 1
* needs_tests: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:4>
* needs_docs: 1 => 0
* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:5>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"ac5cc6cf01463d90aa333d5f6f046c311019827b" ac5cc6c]:
{{{
#!CommitTicketReference repository=""
revision="ac5cc6cf01463d90aa333d5f6f046c311019827b"
Fixed #33316 -- Added pagination to admin history view.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:7>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"ff0b81b56bc2f50e22909f1ad26e9f71d346a7cf" ff0b81b5]:
{{{
#!CommitTicketReference repository=""
revision="ff0b81b56bc2f50e22909f1ad26e9f71d346a7cf"
Refs #33316 -- Moved paginator styles to base.css.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33316#comment:6>