From 4eaf4155f809c320e4b24e0f437ed9e1d856f9ef Mon Sep 17 00:00:00 2001 From: Justin Bronn Date: Thu, 16 Apr 2009 14:16:16 +0000 Subject: [PATCH] Fixed #10836 -- Forgot to move import to to `where` module. Thanks, seanl for ticket & patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10572 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/contrib/gis/db/models/sql/query.py | 1 - django/contrib/gis/db/models/sql/where.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/django/contrib/gis/db/models/sql/query.py b/django/contrib/gis/db/models/sql/query.py index fc14271dd3..6995771cd6 100644 --- a/django/contrib/gis/db/models/sql/query.py +++ b/django/contrib/gis/db/models/sql/query.py @@ -1,6 +1,5 @@ from itertools import izip from django.db.models.query import sql -from django.db.models.fields import FieldDoesNotExist from django.db.models.fields.related import ForeignKey from django.contrib.gis.db.backend import SpatialBackend diff --git a/django/contrib/gis/db/models/sql/where.py b/django/contrib/gis/db/models/sql/where.py index ff6f45816c..838889fbad 100644 --- a/django/contrib/gis/db/models/sql/where.py +++ b/django/contrib/gis/db/models/sql/where.py @@ -1,5 +1,5 @@ from django.db import connection -from django.db.models.fields import Field +from django.db.models.fields import Field, FieldDoesNotExist from django.db.models.sql.constants import LOOKUP_SEP from django.db.models.sql.expressions import SQLEvaluator from django.db.models.sql.where import WhereNode