1
0
mirror of https://github.com/django/django.git synced 2024-12-24 10:05:46 +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:
Justin Bronn 2009-03-31 15:49:25 +00:00
parent f2df3650d6
commit 3a0950739b

View File

@ -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