1
1
from django.db.backends.mysql.creation import DatabaseCreation
3
4
class MySQLCreation(DatabaseCreation):
5
5
def sql_indexes_for_field(self, model, f, style):
6
6
from django.contrib.gis.db.models.fields import GeometryField
7
7
output = super(MySQLCreation, self).sql_indexes_for_field(model, f, style)