mirror of
https://github.com/django/django.git
synced 2025-10-25 22:56:12 +00:00
Renamed SpatiaLite feature flag introduced in refs #23152.
Thanks Doug Goldstein for the suggestion.
This commit is contained in:
@@ -36,5 +36,5 @@ class SpatiaLiteCreation(DatabaseCreation):
|
||||
Creates the spatial metadata tables.
|
||||
"""
|
||||
cur = self.connection._cursor()
|
||||
arg = "1" if self.connection.features.supports_initspatialmetadata_with_transactions else ""
|
||||
arg = "1" if self.connection.features.supports_initspatialmetadata_in_one_transaction else ""
|
||||
cur.execute("SELECT InitSpatialMetaData(%s)" % arg)
|
||||
|
||||
Reference in New Issue
Block a user