Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #12468 -- Use the `DatabaseOperations` class from the `postgres…

…ql_psycopg2` backend as the base class for `PostGISOperations`. Thanks, drdaeman, for bug report and patch.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@12033 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit c35868ab9b4eca17b284cb6edd79fcdad9951442 1 parent 57d7181
@jbronn jbronn authored
Showing with 1 addition and 2 deletions.
  1. +1 −2  django/contrib/gis/db/backends/postgis/operations.py
View
3  django/contrib/gis/db/backends/postgis/operations.py
@@ -8,8 +8,7 @@
from django.contrib.gis.geometry.backend import Geometry
from django.contrib.gis.measure import Distance
from django.core.exceptions import ImproperlyConfigured
-from django.db.backends.postgresql.operations import DatabaseOperations
-from django.db.backends.postgresql_psycopg2.base import Database
+from django.db.backends.postgresql_psycopg2.base import Database, DatabaseOperations
#### Classes used in constructing PostGIS spatial SQL ####
class PostGISOperator(SpatialOperation):
Please sign in to comment.
Something went wrong with that request. Please try again.