Opened 16 years ago
Closed 16 years ago
#9871 closed (fixed)
MyModel.object.values('mygeometryfield') doesn't work
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | GIS | Version: | 1.0 |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Design decision needed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
I expected a result in the form of [{'mygeometryfield' : a_geom_instance}, ...] but got a [{'mygeometryfield' : 'WKBSTR'},...] instead.
Change History (3)
comment:1 by , 16 years ago
milestone: | post-1.0 |
---|
comment:2 by , 16 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
Moving to DDN, it's generally been said that values() is expected to return the raw DB values(such as with ForeignKeys).
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Milestone post-1.0 deleted