diff options
| author | Justin Bronn <jbronn@gmail.com> | 2008-10-28 00:47:49 +0000 |
|---|---|---|
| committer | Justin Bronn <jbronn@gmail.com> | 2008-10-28 00:47:49 +0000 |
| commit | 9db7d53b6094032f008ebb9ee6ce2209773ed713 (patch) | |
| tree | ce0059d489b93bc37d51395f6e013f3ab663905f | |
| parent | e4ea2e12e1a7969c37adc969825a1160df3c95fc (diff) | |
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
| -rw-r--r-- | django/contrib/gis/db/backend/mysql/field.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/db/backend/mysql/field.py b/django/contrib/gis/db/backend/mysql/field.py index f3151f93ff..3ad9a1c761 100644 --- a/django/contrib/gis/db/backend/mysql/field.py +++ b/django/contrib/gis/db/backend/mysql/field.py @@ -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. |
