mirror of
https://github.com/django/django.git
synced 2025-09-27 04:29:17 +00:00
Fixed cursor commit command in PostGIS backend
Thanks Bruno Renié for noticing the error.
This commit is contained in:
parent
fbd1df8e16
commit
7b9a1fb964
1 changed files with 1 additions and 1 deletions
|
@ -91,6 +91,6 @@ class PostGISCreation(DatabaseCreation):
|
|||
self.connection.settings_dict["NAME"] = test_database_name
|
||||
cursor = self.connection.cursor()
|
||||
cursor.execute("CREATE EXTENSION postgis")
|
||||
cursor.commit()
|
||||
cursor.connection.commit()
|
||||
|
||||
return test_database_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue