I'm using a form for my webpage that returns values with simillar key
values. Now for backend compatibility reasons I cannot change the key
variables.

This is the query dictionary returned from the HTML file.
<QueryDict: {u'province': [u'ON', u'AB'], u'city': [u'Toronto',
u'dsadasdadas'], u'first_name': [u'asdasdas'], u'last_name':
[u'dasdasdas'], u'security_number': [u'321'], u'address1': [u'yonge
street', u'bay street'], u'address2': [u'32131', u'111'],
u'card_type': [u'visa'], u'postal_code': [u'M2N7g0', u'M2N7G9'],
u'expiry_month': [u'12'], u'country': [u'CA', u'CA'], u'answer':
[u'Save'], u'expiry_year': [u'2014'], u'csrfmiddlewaretoken':
[u'454262933677675b67eb1e23147c60df'], u'phone_number': [u'21312312'],
u'card_number': [u'4111111111111111']}>"

whenever i use HttpResponse(request.POST['address1']) it prints out
'bay street' when I would like it to print out the other value stored
in the key address1 which is 'yonge street'. How would I go about
accessing this other value in the key variable?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to