diff options
| author | Anssi Kääriäinen <akaariai@gmail.com> | 2014-01-19 10:07:58 +0200 |
|---|---|---|
| committer | Anssi Kääriäinen <akaariai@gmail.com> | 2014-01-19 10:09:17 +0200 |
| commit | 994c842bc9266f3d1e36b10e9365d74844ccb28c (patch) | |
| tree | b7329eb71247c47c1c68e69ad0f4896a634a813f | |
| parent | 9d487ae2a16d1efd501e65c78e6885c8cdcd4421 (diff) | |
Fixed Oracle query failures caused by lookup refactor
Refs #21821.
| -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 db4e6744bf..dcf89fe8bf 100644 --- a/django/db/models/sql/query.py +++ b/django/db/models/sql/query.py @@ -1061,7 +1061,7 @@ class Query(object): if (connections[DEFAULT_DB_ALIAS].features.interprets_empty_strings_as_nulls and lookups[-1] == 'exact' and value == ''): value = True - lookups[-1] = ['isnull'] + lookups[-1] = 'isnull' return value, lookups def solve_lookup_type(self, lookup): |
