diff options
| author | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-05-16 08:41:10 +0200 |
|---|---|---|
| committer | Marc Tamlyn <marc.tamlyn@gmail.com> | 2014-05-16 12:11:35 +0200 |
| commit | cebd8753c65ec33730f495bb7085f34884f7c3d6 (patch) | |
| tree | 88202e066161dfda0a157d4873d4ccbb809665d7 /django | |
| parent | f5d4b45df106ad3d37783ef8ea424c030bb6b196 (diff) | |
Remove old compatibility shims from d.c.gis.
Diffstat (limited to 'django')
| -rw-r--r-- | django/contrib/gis/models.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/django/contrib/gis/models.py b/django/contrib/gis/models.py deleted file mode 100644 index 466efcee9a..0000000000 --- a/django/contrib/gis/models.py +++ /dev/null @@ -1,9 +0,0 @@ -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() |
