summaryrefslogtreecommitdiff
path: root/django/db/models/sql/where.py
diff options
context:
space:
mode:
Diffstat (limited to 'django/db/models/sql/where.py')
-rw-r--r--django/db/models/sql/where.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/django/db/models/sql/where.py b/django/db/models/sql/where.py
index eed3bf0e21..bf45bceb4b 100644
--- a/django/db/models/sql/where.py
+++ b/django/db/models/sql/where.py
@@ -100,7 +100,6 @@ class WhereNode(tree.Node):
lhs = '%s.%s' % (qn(table_alias), qn(name))
else:
lhs = qn(name)
- ##db_type = field and field.db_type() or None
field_sql = connection.ops.field_cast_sql(db_type) % lhs
if value_annot is datetime.datetime: