Ticket #10836: 10836-fielddoesnotexist-import-in-correct-module.diff

File 10836-fielddoesnotexist-import-in-correct-module.diff, 1.0 KB (added by seanl, 6 years ago)
  • django/contrib/gis/db/models/sql/where.py

     
    11from django.db import connection
    2 from django.db.models.fields import Field
     2from django.db.models.fields import Field, FieldDoesNotExist
    33from django.db.models.sql.constants import LOOKUP_SEP
    44from django.db.models.sql.expressions import SQLEvaluator
    55from django.db.models.sql.where import WhereNode
  • django/contrib/gis/db/models/sql/query.py

     
    11from itertools import izip
    22from django.db.models.query import sql
    3 from django.db.models.fields import FieldDoesNotExist
    43from django.db.models.fields.related import ForeignKey
    54
    65from django.contrib.gis.db.backend import SpatialBackend
Back to Top