|
@@ -178,7 +178,7 @@ def querystring(request, **kwargs):
|
|
|
querydict = request.GET.copy()
|
|
querydict = request.GET.copy()
|
|
|
for k, v in kwargs.items():
|
|
for k, v in kwargs.items():
|
|
|
if v is not None:
|
|
if v is not None:
|
|
|
- querydict[k] = v
|
|
|
|
|
|
|
+ querydict[k] = str(v)
|
|
|
elif k in querydict:
|
|
elif k in querydict:
|
|
|
querydict.pop(k)
|
|
querydict.pop(k)
|
|
|
querystring = querydict.urlencode(safe='/')
|
|
querystring = querydict.urlencode(safe='/')
|