#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 -------------------------------------+------------------------------------- Changes (by Tim Graham <timograham@…>):
* status: assigned => closed * resolution: => fixed Comment: In [changeset:"46ecfb9b3a11a360724e3375ba78c33c46d6a992" 46ecfb9b]: {{{ #!CommitTicketReference repository="" revision="46ecfb9b3a11a360724e3375ba78c33c46d6a992" Fixed #26196 -- Made sure __in lookups use to_field as default. Thanks Simon Charette for the test. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/26196#comment:3> 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.fb65e5e9e3e228b594e38f3b6ee583e8%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.