Fixed Oracle query failures caused by lookup refactor

Refs #21821.
This commit is contained in:
Anssi Kääriäinen 2014-01-19 10:07:58 +02:00
parent 9d487ae2a1
commit 994c842bc9
1 changed files with 1 additions and 1 deletions

View File

@ -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):