Skip to content
Browse files

Fixed `MySQLGeoField` to create spatial indexes again.

Backport of r9286 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@9287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent e4ea2e1 commit 9db7d53b6094032f008ebb9ee6ce2209773ed713 @jbronn jbronn committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/gis/db/backend/mysql/field.py
View
2 django/contrib/gis/db/backend/mysql/field.py
@@ -29,7 +29,7 @@ def _geom_index(self, style, db_table):
style.SQL_FIELD(qn(self.column)) + ');'
return sql
- def _post_create_sql(self, style, db_table):
+ def post_create_sql(self, style, db_table):
"""
Returns SQL that will be executed after the model has been
created.

0 comments on commit 9db7d53

Please sign in to comment.
Something went wrong with that request. Please try again.