#26196: Django 1.9 ORM generates invalid subqueries for FK fields with 'to_field' -------------------------------------+------------------------------------- Reporter: hellpain | Owner: charettes Type: Bug | Status: closed Component: Database layer | Version: 1.9 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: | Triage Stage: Accepted Has patch: 1 | Needs documentation: 1 Needs tests: 0 | Patch needs improvement: 1 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>): In [changeset:"1d9ee181fe09a5c3784bbbf802cc522f11ff25ef" 1d9ee18]: {{{ #!CommitTicketReference repository="" revision="1d9ee181fe09a5c3784bbbf802cc522f11ff25ef" [1.9.x] Fixed #26196 -- Made sure __in lookups use to_field as default. Thanks Simon Charette for the test. Backport of 46ecfb9b3a11a360724e3375ba78c33c46d6a992 from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/26196#comment:4> 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 post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/066.2f822f09688ea1bf68195159ae4b0a79%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.