Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed Oracle query failures caused by lookup refactor

Refs #21821.
  • Loading branch information...
commit 994c842bc9266f3d1e36b10e9365d74844ccb28c 1 parent 9d487ae
@akaariai akaariai authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/db/models/sql/query.py
View
2  django/db/models/sql/query.py
@@ -1061,7 +1061,7 @@ def prepare_lookup_value(self, value, lookups, can_reuse):
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):
Please sign in to comment.
Something went wrong with that request. Please try again.