12
错误:“字典更新序列元素#0的长度为1;在Django 1.4上需要2
我在django 1.4上收到一条错误消息: 字典更新序列元素#0的长度为1;2个为必填项 [编辑] 当我尝试使用模板标签时发生了这种情况:`{%for v in values%}: dictionary update sequence element #0 has length 1; 2 is required Request Method: GET Request URL: ... Django Version: 1.4.5 Exception Type: ValueError Exception Value: dictionary update sequence element #0 has length 1; 2 is required Exception Location: /usr/local/lib/python2.7/dist-packages/djorm_hstore/fields.py in __init__, line …