Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #15747 -- Removed deprecated contrib.gis.db.backend module. Tha…

…nks to jonash for the report.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16012 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit fb55a1a77d2ca17c946d3579eed7efc259294637 1 parent e301899
@freakboy3742 freakboy3742 authored
Showing with 0 additions and 11 deletions.
  1. +0 −11 django/contrib/gis/db/backend/__init__.py
View
11 django/contrib/gis/db/backend/__init__.py
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.