Error: “dictionary update sequence element #0 has length 1; 2 is required” on Django 1.4

后端 未结 14 1079
梦如初夏
梦如初夏 2020-11-29 21:43

I have an error message on django 1.4:

dictionary update sequence element #0 has length 1; 2 is required

[EDIT]

It happe

14条回答
  •  -上瘾入骨i
    2020-11-29 22:27

    I too had a similar type of problem . The solution is simple . just dont try to enter NULL or None value in values or u might have to use Something like this
    dic.update([(key,value)])

提交回复
热议问题