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')
2.1m questions
2.1m answers
60 comments
57.0k users