mirror of
https://github.com/django/django.git
synced 2025-10-31 09:41:08 +00:00
Removed usage of django.db.utils.ConnectionHandler.databases.
This commit is contained in:
committed by
Mariusz Felisiak
parent
e458abc593
commit
58ad9a99a7
@@ -204,7 +204,7 @@ def get_ogr_db_string():
|
||||
GDAL will create its own connection to the database, so we re-use the
|
||||
connection settings from the Django test.
|
||||
"""
|
||||
db = connections.databases["default"]
|
||||
db = connections.settings["default"]
|
||||
|
||||
# Map from the django backend into the OGR driver name and database identifier
|
||||
# https://gdal.org/drivers/vector/
|
||||
|
||||
Reference in New Issue
Block a user