summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Keith-Magee <russell@keith-magee.com>2011-04-03 23:50:12 +0000
committerRussell Keith-Magee <russell@keith-magee.com>2011-04-03 23:50:12 +0000
commitfb55a1a77d2ca17c946d3579eed7efc259294637 (patch)
tree2fa9529e2a4e63faf769fadef7bf07aa1473ac44
parente3018993921b87ebdf65558519c6530141fc327c (diff)
Fixed #15747 -- Removed deprecated contrib.gis.db.backend module. Thanks to jonash for the report.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@16012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/gis/db/backend/__init__.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/django/contrib/gis/db/backend/__init__.py b/django/contrib/gis/db/backend/__init__.py
deleted file mode 100644
index 72ebdfee6b..0000000000
--- a/django/contrib/gis/db/backend/__init__.py
+++ /dev/null
@@ -1,11 +0,0 @@
-from django.db import connection
-
-if hasattr(connection.ops, 'spatial_version'):
- from warnings import warn
- warn('The `django.contrib.gis.db.backend` module was refactored and '
- 'renamed to `django.contrib.gis.db.backends` in 1.2. '
- 'All functionality of `SpatialBackend` '
- 'has been moved to the `ops` attribute of the spatial database '
- 'backend. A `SpatialBackend` alias is provided here for '
- 'backwards-compatibility, but will be removed in 1.3.')
- SpatialBackend = connection.ops