Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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
  • Loading branch information...
commit 3a0950739bc0947c2ae336b54905361a73f2871d 1 parent f2df365
@jbronn jbronn authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  django/contrib/gis/models.py
View
1  django/contrib/gis/models.py
@@ -286,6 +286,7 @@ def get_srid_info(srid):
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
Please sign in to comment.
Something went wrong with that request. Please try again.