Permalink
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...
1 parent 57d7181 commit c35868ab9b4eca17b284cb6edd79fcdad9951442 @jbronn jbronn committed Dec 31, 2009
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):

0 comments on commit c35868a

Please sign in to comment.