#35198: Facet filters crash for queryset with no ID.
-------------------------------------+-------------------------------------
     Reporter:  Simon Alef           |                    Owner:  Shafiya
                                     |  Adzhani
         Type:  Bug                  |                   Status:  assigned
    Component:  contrib.admin        |                  Version:  5.0
     Severity:  Release blocker      |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Thomas Feldmann):

 Hey, thanks a lot for tackling this! You're right, for this reproducer a
 RelatedFieldListFilter would be the way to go.
 For the reproducer we stripped some business logic where we are annotating
 and filtering on the queryset, so I think we have to go with subclassing a
 SimpleListFilter here.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/35198#comment:5>
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/0107018db6d8c3ba-830813ab-e764-44cb-ada3-865a9ad1517b-000000%40eu-central-1.amazonses.com.

Reply via email to