FieldDoesNotExist import in gis.db.models.sql.query should be in gis.db.models.sql.where
|Reported by:||Sean Legassick||Owned by:||nobody|
|Has patch:||yes||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
Self-explanatory - the import of FieldDoesNotExist is in the wrong file - the exception isn't raised anywhere in sql/query.py but it is in sql/where.py (in _check_geo_field). I'm guessing this was due to some code re-organization.
Change History (2)
Changed 8 years ago by