id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 20141 QuerySet filter should check type Tomasz Kontusz nobody "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?" Uncategorized closed Database layer (models, ORM) 1.5 Normal duplicate Unreviewed 0 0 0 0 0 0