diff options
Diffstat (limited to 'django/contrib/gis/db/backend/postgis/field.py')
-rw-r--r-- | django/contrib/gis/db/backend/postgis/field.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/db/backend/postgis/field.py b/django/contrib/gis/db/backend/postgis/field.py index 1e055ff60b..9d6c0fad24 100644 --- a/django/contrib/gis/db/backend/postgis/field.py +++ b/django/contrib/gis/db/backend/postgis/field.py @@ -50,7 +50,7 @@ class PostGISField(Field): style.SQL_KEYWORD(index_opts) + ' );' 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. Geometry columns must be added after creation with the |