geo data fixture with loaddata, YAML

8 views
Skip to first unread message

Ben Dean

unread,
Jul 7, 2014, 3:29:22 PM7/7/14
to django...@googlegroups.com
Hi, 

I wanted to cross post this here from the original on the geodjango group. I let the details stand there, but summarize here:

Trying to use manage.py loaddata to get a YAML fixture containing a geoDjango "MultiPolygonField", but I am running into some problem with the serialization format:
Cannot set Neighborhood GeometryProxy (MULTIPOLYGON) with value of type: <type 'list'>
or
Cannot set Neighborhood GeometryProxy (MULTIPOLYGON) with value of type: <type 'dict'>

Hoping someone with more YAML/loaddata expertise can point me in the right direction vis. this formatting problem
Reply all
Reply to author
Forward
0 new messages