#20141: QuerySet filter should check type
----------------------------------------------+--------------------
     Reporter:  ktosiek                       |      Owner:  nobody
         Type:  Uncategorized                 |     Status:  new
    Component:  Database layer (models, ORM)  |    Version:  1.5
     Severity:  Normal                        |   Keywords:
 Triage Stage:  Unreviewed                    |  Has patch:  0
Easy pickings:  0                             |      UI/UX:  0
----------------------------------------------+--------------------
 When I'm filtering on ForeignKey, I can use an instance of any model in my
 filter.
 Shouldn't .filter check if what I'm filtering with is an instance of the
 target model of FK?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/20141>
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 post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to