geometry field does not work in Admin list_display
|Reported by:||Owned by:||jbronn|
|Severity:||Keywords:||gis geometry admin list_display|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
A geometry field (PointField, PolygonField) does not render in the Admin applications list_display. It does however in the 'Changes' screen of the Admin app.
It seems the sql for the list_display does not include 'AS_TEXT(GeomField)' as it does on the 'Changes' screen
The error returned boils down to:
String or unicode input unrecognized as WKT EWKT, and HEXEWKB.
Change History (3)
comment:1 Changed 9 years ago by
|Keywords:||gis geometry admin list_display added|
|Owner:||changed from nobody to jbronn|
|Patch needs improvement:||unset|
|Status:||new → assigned|
|Triage Stage:||Unreviewed → Accepted|