diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2015-02-14 19:37:12 +0000 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2015-02-20 11:35:51 +0000 |
| commit | 4755f8fc25331c739a6f932cc8aba0cc9e62e352 (patch) | |
| tree | b55eba1e0c4977544bf0b698310f65fee202471e /django/db/models/sql | |
| parent | dbacbc729a8dabe58466bf9abccee23be7cce877 (diff) | |
Fixed #24343 -- Ensure db converters are used for foreign keys.
Joint effort between myself, Josh, Anssi and Shai.
Diffstat (limited to 'django/db/models/sql')
| -rw-r--r-- | django/db/models/sql/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/sql/query.py b/django/db/models/sql/query.py index 9dede765f7..13c0355753 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -1458,7 +1458,7 @@ class Query(object): # database from tripping over IN (...,NULL,...) selects and returning # nothing col = query.select[0] - select_field = col.field + select_field = col.target alias = col.alias if self.is_nullable(select_field): lookup_class = select_field.get_lookup('isnull') |
