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.