mirror of
https://github.com/django/django.git
synced 2025-07-19 00:59:17 +00:00
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
This commit is contained in:
parent
e4ea2e12e1
commit
9db7d53b60
@ -29,7 +29,7 @@ class MySQLGeoField(Field):
|
||||
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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user