mirror of
https://github.com/django/django.git
synced 2024-12-25 02:26:12 +00:00
Fixed #9437 -- Now close database connection within get_srid_info
. Thanks, mattxbart.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10254 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
f2df3650d6
commit
3a0950739b
@ -286,6 +286,7 @@ if not PYTHON23:
|
||||
srs_wkt = SpatialReference(fetched[0]).wkt
|
||||
else:
|
||||
srs_wkt = fetched[0]
|
||||
connection.close()
|
||||
|
||||
# Getting metadata associated with the spatial reference system identifier.
|
||||
# Specifically, getting the unit information and spheroid information
|
||||
|
Loading…
Reference in New Issue
Block a user