The Django docs say at http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.QueryDict.iteritems thatQueryDict.iteritems()
uses the same last-value
you can cast the querydict into a dictionary
map(int,dict(request.GET)["status"])
There is a useful function in django http utils you can use:
>>> from django.utils.http import urlencode
>>> print(urlencode({"tag": [1, 2, 3], "sentence":2}, doseq=True))
'tag=1&tag=2&tag=3&sentence=2'
I believe QueryDict.urlencode achieves your desired outcome if all you want to do is print out the QueryDict then just
print request.GET.urlencode()
should do the trick. Let me know if you were trying to do something else and I'll try to help!
request.GET.getlist('status')
request.META['QUERY_STRING']
will give the complete query string
or if you want to get the list of values for a given key ex: list of values for status then
request.GET.getlist('status')
It's easy!
Just print(dict(request.GET))