| author | ymh <ymh.work@gmail.com> |
| Mon, 31 May 2010 11:14:39 +0200 | |
| changeset 32 | e28089cee66c |
| parent 29 | cc9b7e14412b |
| permissions | -rw-r--r-- |
from django.db import connection if (hasattr(connection.ops, 'spatial_version') and not connection.ops.mysql): # Getting the `SpatialRefSys` and `GeometryColumns` # models for the default spatial backend. These # aliases are provided for backwards-compatibility. SpatialRefSys = connection.ops.spatial_ref_sys() GeometryColumns = connection.ops.geometry_columns()