diff options
Diffstat (limited to 'django/contrib/gis/db/backend')
| -rw-r--r-- | django/contrib/gis/db/backend/oracle/field.py | 2 | ||||
| -rw-r--r-- | django/contrib/gis/db/backend/postgis/field.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/gis/db/backend/oracle/field.py b/django/contrib/gis/db/backend/oracle/field.py index 829d5a5b02..22625f5e10 100644 --- a/django/contrib/gis/db/backend/oracle/field.py +++ b/django/contrib/gis/db/backend/oracle/field.py @@ -70,7 +70,7 @@ class OracleSpatialField(Field): style.SQL_TABLE('MDSYS.SPATIAL_INDEX') + ';' 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. 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 |
