#28687: Add a 'Not Empty' option to admin's related filter -------------------------------------+------------------------------------- Reporter: Brillgen Developers | Owner: Jake Type: | Barber Cleanup/optimization | Status: assigned Component: contrib.admin | Version: 2.0 Severity: Normal | Resolution: Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+------------------------------------- Changes (by Tim Graham):
* needs_better_patch: 0 => 1 * stage: Ready for checkin => Accepted Comment: I agree -- `get_not_empty_value_display()` looks heavy handed for this use case. `get_empty_value_display()` is used elsewhere besides the `RelatedFieldListFilter` and it corresponds to the values displayed in the changelist -- that's not the case for the "not empty" case. -- Ticket URL: <https://code.djangoproject.com/ticket/28687#comment:8> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.c49e2035060af56795e02e1b2b12a4e3%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.