#34718: Allow django.contrib.admin's ListFilter to render details tag collasped 
by
default
----------------------------------+--------------------------------------
     Reporter:  Christophe Henry  |                    Owner:  nobody
         Type:  Uncategorized     |                   Status:  new
    Component:  contrib.admin     |                  Version:  4.2
     Severity:  Normal            |               Resolution:
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  1
----------------------------------+--------------------------------------
Changes (by Christophe Henry):

 * ui_ux:  0 => 1
 * component:  Uncategorized => contrib.admin


Old description:

> Custom ``ListFilter`` in django admin can yield a lot of results, in
> which case, the page can be very long.
>
> This could be solved by adding a ``details_collapsed = True`` attribute
> to the ``ListFilter`` class and render the ``<details>`` tag according to
> that attribute.

New description:

 Custom `ListFilter` in django admin can yield a lot of results, in which
 case, the page can be very long.

 This could be solved by adding a `details_collapsed = True` attribute to
 the `ListFilter` class and render the `<details>` tag according to that
 attribute.

--

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34718#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/0107018963fa8fdd-cebe8fe6-0520-4888-a084-e5286d59e985-000000%40eu-central-1.amazonses.com.

Reply via email to