summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
Diffstat (limited to 'django')
-rw-r--r--django/contrib/gis/db/backends/postgis/schema.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/db/backends/postgis/schema.py b/django/contrib/gis/db/backends/postgis/schema.py
index 25264f701f..0ca5362231 100644
--- a/django/contrib/gis/db/backends/postgis/schema.py
+++ b/django/contrib/gis/db/backends/postgis/schema.py
@@ -37,7 +37,7 @@ class PostGISSchemaEditor(DatabaseSchemaEditor):
self.sql_create_index,
name=self.quote_name('%s_%s_id' % (model._meta.db_table, field.column)),
table=self.quote_name(model._meta.db_table),
- using='USING %s' % self.geom_index_type,
+ using=' USING %s' % self.geom_index_type,
columns=field_column,
extra='',
condition='',