#34031: Option to remove "all" option in admin SimpleListFilter
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  dunderrrrrr                        |
                   Type:             |         Status:  new
  Cleanup/optimization               |
              Component:             |        Version:  4.0
  contrib.admin                      |       Keywords:  list_filter,
               Severity:  Normal     |  choices, simplelistfilter
           Triage Stage:             |      Has patch:  0
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  1
                  UI/UX:  0          |
-------------------------------------+-------------------------------------
 In order to remove the "All" option from admin list filters you have to
 override the `choices` function. There should be an easier way to do this.

 More details can be found in this stackoverflow thread. It seems like this
 is a requested feature.
 https://stackoverflow.com/questions/53821727/django-admin-list-filter-
 remove-all-option

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34031>
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/0107018367019def-b02f280f-acb1-4503-9dc5-84f8808d5a87-000000%40eu-central-1.amazonses.com.

Reply via email to