#19018: m2m relationships with a through field don't respect types.
----------------------------------------------+--------------------
     Reporter:  justinlilly                   |      Owner:  nobody
         Type:  Uncategorized                 |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  1.4
     Severity:  Normal                        |   Keywords:
 Triage Stage:  Unreviewed                    |  Has patch:  0
Easy pickings:  0                             |      UI/UX:  0
----------------------------------------------+--------------------
 I ran into an issue today in which an empty list was returned from a
 Queryset when it should have been a blatant failure.

 Given the models in
 
https://github.com/django/django/blob/master/tests/modeltests/m2m_through/models.py

 The following returns an empty queryset:

 {{{#!python
   Group.objects.filter(members__in=[Friendship(pk=9)])
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/19018>
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 post to this group, send email to django-updates@googlegroups.com.
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to