| author | ymh <ymh.work@gmail.com> |
| Tue, 15 Mar 2011 10:34:41 +0100 | |
| changeset 65 | 3d18d15135f1 |
| parent 38 | 77b6da96e6f1 |
| 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()