core: fix _redirect_with_qs appending an array to the URL
This commit is contained in:
parent
b9733e56aa
commit
d24133d8a2
|
@ -23,7 +23,7 @@ def _redirect_with_qs(view, get_query_set=None):
|
||||||
"""Wrapper to redirect whilst keeping GET Parameters"""
|
"""Wrapper to redirect whilst keeping GET Parameters"""
|
||||||
target = reverse(view)
|
target = reverse(view)
|
||||||
if get_query_set:
|
if get_query_set:
|
||||||
target += "?" + urlencode(get_query_set)
|
target += "?" + urlencode(get_query_set.items())
|
||||||
return redirect(target)
|
return redirect(target)
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in New Issue