Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed `MySQLGeoField` to create spatial indexes again.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@9286 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 243dea4cd642ab007093b9b9ab9daa35af01d0aa 1 parent 0b6d214
Justin Bronn authored
2  django/contrib/gis/db/backend/mysql/field.py
@@ -29,7 +29,7 @@ def _geom_index(self, style, db_table):
29 29
               style.SQL_FIELD(qn(self.column)) + ');'
30 30
         return sql
31 31
 
32  
-    def _post_create_sql(self, style, db_table):
  32
+    def post_create_sql(self, style, db_table):
33 33
         """
34 34
         Returns SQL that will be executed after the model has been
35 35
         created.

0 notes on commit 243dea4

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