Switch from Django 1.6 to 1.7.3 with latest django-hstore gives strings instead of dicts

39 views
Skip to first unread message

Jefferson Heard

unread,
Jan 19, 2015, 12:15:31 PM1/19/15
to django...@googlegroups.com
Here's the stacktrace, and as you can see when I print m._meta.fields, "modules" and "parameters" are DictionaryFields.  https://dpaste.de/AXXA  

Instead of getting back dictionaries, I'm getting back strings.  I have no idea what the issue is, but it's breaking all my templates that use models with hstore fields and new data cannot be saved unless i hand-serialize it into the HStore KVP format myself.  Kind of obviates the usage of the hstore-field.

Jefferson Heard

unread,
Jan 19, 2015, 12:26:03 PM1/19/15
to django...@googlegroups.com
Is it also possible this is a problem because I restored the database from a dump?  I've checked that the hstore extension is installed in the db, and it is...  I'm not using multiple DBs, only one, so i don't think that the other issues I've seen about dicts turning into strings apply.

nemesis

unread,
Mar 17, 2015, 11:42:49 AM3/17/15
to django...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages