﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
29635	can't pass int value to QueryDict Instance	dhcn	nobody	"the code
{{{
query_dict[""offset""] = self.length
}}}
the querydict is {""offset"":[100]}
will give the error:

{{{
File ""/usr/local/lib/python3.5/dist-packages/django/http/request.py"" in urlencode
  524.                 for v in list_

File ""/usr/local/lib/python3.5/dist-packages/django/http/request.py"" in <genexpr>
  524.                 for v in list_

Exception Type: AttributeError at /zhaohuogan/archives/
Exception Value: 'int' object has no attribute 'encode'
}}}

the bugfixed code is：
{{{
query_dict[""offset""] = str(self.length)
}}}

"	Bug	closed	HTTP handling	2.1	Normal	duplicate			Unreviewed	0	0	0	0	0	0
