value = self.convert_value_for_db(db_type, value)
if isinstance(value, Text):
raise DatabaseError('TextField is not indexed, by default, '
- "so you can't filter on it. "
- 'Please add an index definition for the '
- 'column "%s" as described here:\n'
+ "so you can't filter on it. Please add "
+ 'an index definition for the column %s '
+ 'on the model %s.%s as described here:\n'
+ % column)
existing_value = query[key]
if isinstance(existing_value, list):