Skip to content

Commit

Permalink
Fixed type in MySQL spatial backend.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbronn committed Oct 6, 2012
1 parent cd99c12 commit d99639d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django/contrib/gis/db/backends/mysql/operations.py
Expand Up @@ -44,7 +44,7 @@ def get_geom_placeholder(self, value, srid):
modify the placeholder based on the contents of the given value.
"""
if hasattr(value, 'expression'):
placeholder = placeholder % self.get_expression_column(value)
placeholder = self.get_expression_column(value)
else:
placeholder = '%s(%%s)' % self.from_text
return placeholder
Expand Down

0 comments on commit d99639d

Please sign in to comment.