Ticket #13215: gis-connection-close-1.1.X.diff
File gis-connection-close-1.1.X.diff, 497 bytes (added by , 15 years ago) |
---|
-
django/contrib/gis/db/backend/postgis/management.py
12 12 cursor = connection.cursor() 13 13 cursor.execute('SELECT %s()' % func) 14 14 row = cursor.fetchone() 15 c ursor.close()15 connection.close() 16 16 return row[0] 17 17 18 18 ### PostGIS management functions ###