Changes between Initial Version and Version 1 of Ticket #23518, comment 2


Ignore:
Timestamp:
Oct 22, 2014, 1:15:17 AM (10 years ago)
Author:
Thomas C

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #23518, comment 2

    initial v1  
    1 It looks like the ORM automatically considers that you are doing an `__in` lookup when you give a `QuerySet` as the right-hand side of a filter on a related field (see https://github.com/django/django/blob/bbc3505ef81768aa2afac8f73e6d45b5e8000c55/django/db/models/fields/related.py#L1607).
     1It looks like the ORM automatically considers that you are doing an `__in` lookup when you give a `QuerySet` as the right-hand side of a filter on a related field, whatever the lookup type is (see https://github.com/django/django/blob/bbc3505ef81768aa2afac8f73e6d45b5e8000c55/django/db/models/fields/related.py#L1607).
    22
    33For instance:
Back to Top