Opened 6 years ago

Closed 6 years ago

#10836 closed (fixed)

FieldDoesNotExist import in gis.db.models.sql.query should be in gis.db.models.sql.where

Reported by: seanl Owned by: nobody
Component: GIS Version: master
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

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.

Attachments (1)

10836-fielddoesnotexist-import-in-correct-module.diff (1.0 KB) - added by seanl 6 years ago.

Download all attachments as: .zip

Change History (2)

comment:1 Changed 6 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r10572.

Note: See TracTickets for help on using tickets.
Back to Top