Ticket #13215: gis-connection-close-1.1.X.diff

File gis-connection-close-1.1.X.diff, 497 bytes (added by jbronn, 14 years ago)
  • django/contrib/gis/db/backend/postgis/management.py

     
    1212    cursor = connection.cursor()
    1313    cursor.execute('SELECT %s()' % func)
    1414    row = cursor.fetchone()
    15     cursor.close()
     15    connection.close()
    1616    return row[0]
    1717
    1818### PostGIS management functions ###
Back to Top