#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 Shafiya Adzhani):

 Replying to [comment:5 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.

 ah, I understand. After I look at the reproducer, this reproducer intended
 to make categories like "ACTIVE" and "-" (not defined, data that are not
 in "ACTIVE"), right?
Ticket URL: <https://code.djangoproject.com/ticket/35198#comment:6>
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 

Reply via email to