Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed type in MySQL spatial backend.

  • Loading branch information...
commit d99639da035f3465633f18c78eee239fd18fce21 1 parent cd99c12
Justin Bronn jbronn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/gis/db/backends/mysql/operations.py
2  django/contrib/gis/db/backends/mysql/operations.py
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.