Ticket #11722: possible_fix.patch
File possible_fix.patch, 600 bytes (added by , 15 years ago) |
---|
-
django/db/models/sql/where.py
158 158 159 159 if hasattr(params, 'as_sql'): 160 160 extra, params = params.as_sql(qn, connection) 161 cast_sql = '' 162 else: 163 extra = '' 161 cast_sql = '%s' % extra 162 extra = '' 164 163 165 164 if (len(params) == 1 and params[0] == '' and lookup_type == 'exact' 166 165 and connection.features.interprets_empty_strings_as_nulls):