In my request.POST i am getting a query dictionary , one of the items in this dictionary is a list with multiple items (pass_id) eg.
request.POST
pass_id
I want to retrieve each of the values in pass_id and store in a new list. Can you suggest the code for this?
http://docs.djangoproject.com/en/dev/ref/request-response/#django.http.QueryDict.getlist
request.POST.getlist('pass_id')
1.4m articles
1.4m replys
5 comments
57.0k users