using to_database for filter values

This commit is contained in:
Blake Eggleston
2013-11-03 07:49:11 -08:00
parent 48870d59b1
commit 5b2351488f
2 changed files with 2 additions and 2 deletions

View File

@@ -493,7 +493,7 @@ class AbstractQuerySet(object):
operator_class = BaseWhereOperator.get_operator(col_op or 'EQ')
operator = operator_class()
clone._where.append(WhereClause(col_name, operator, val))
clone._where.append(WhereClause(col_name, operator, column.to_database(val)))
return clone