#35254: New setting for ModelAdmin.list_per_page
-------------------------------+--------------------------------------
     Reporter:  Zerotask       |                    Owner:  nobody
         Type:  New feature    |                   Status:  closed
    Component:  contrib.admin  |                  Version:  5.0
     Severity:  Normal         |               Resolution:  wontfix
     Keywords:  admin          |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------
Changes (by Mariusz Felisiak):

 * component:  Uncategorized => contrib.admin
 * resolution:   => wontfix
 * status:  new => closed

Comment:

 Thanks for this ticket, however creating a new setting is always
 controversial (we already have many of them). Moreover, you can achieve
 the same by using a `ModelAdmin` subclass, e.g.:
 {{{#!python
 class MyModelAdmin(admin.ModelAdmin):
     list_per_page = 999
 }}}
 There is no need for a new setting.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35254#comment:1>
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 on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018de54f80a2-424a059d-cf48-48d0-8c6f-058e9982cc39-000000%40eu-central-1.amazonses.com.

Reply via email to