#34031: Option to remove "all" option in admin SimpleListFilter -------------------------------------+------------------------------------- Reporter: dunderrrrrr | Owner: nobody Type: | Status: closed Cleanup/optimization | Component: contrib.admin | Version: 4.0 Severity: Normal | Resolution: wontfix Keywords: list_filter, | Triage Stage: choices, simplelistfilter | Unreviewed Has patch: 0 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Mariusz Felisiak):
* status: new => closed * resolution: => wontfix * easy: 1 => 0 Comment: Thanks for the ticket, however Django Admin is not a [https://docs.djangoproject.com/en/stable/ref/contrib/admin/#module- django.contriab.admin universal tool for building an app] and adding a new hook to the `ModelAdmin` is always controversial (we already have many of them). Also, there is not much overhead in overwriting `SimpleListFilter.choices()`. -- Ticket URL: <https://code.djangoproject.com/ticket/34031#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 django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/010701836aafc798-27c5811e-d271-49c8-8d41-7e06b294b799-000000%40eu-central-1.amazonses.com.