django错误解决
1、book() got an unexpected keyword argument 'month'

2、RawPostDataException at /index/
You cannot access body after reading from request's data stream
Django只允许读取一次POST正文,多次读取时,会报该错误
3、AttributeError: ‘WSGIRequest‘ object has no attribute ‘get‘

4、list[0]报错
load_34 = i['FYjiaoTongChuXing'] # print(load_34) if load_34 == []: load_34.append(',') # print(load_34[0].strip()) load_34 = load_34[0].strip()
5、
Traceback (most recent call last):
File "E:/Code/python/cityXQu/demo.py", line 11, in <module>
load_34[0]= list(load_34)
TypeError: 'str' object does not support item assignment
for i in load_dict: load_34 = i['FYlabel'] # print(load_34) if load_34 == "": load_34[0]= list(load_34) load_34.append(',') print(load_34[0].strip())
6、

浙公网安备 33010602011771号