I have a QueryDict
that I get from request.POST
in this format:
<QueryDict: {'name': ['John'], 'urls': ['google.com/\r\nbing.com/\r\naskjeeves.com/'], 'user_email': ['[email protected]']}>
Why are the values all in lists?
I did dict(request.POST)
I got
{'name': ['John'], 'urls': ['google.com/\r\nbing.com/\r\naskjeeves.com/'], 'user_email': ['[email protected]']}
How can I get?:
{'name': 'John', 'urls': 'google.com/\r\nbing.com/\r\naskjeeves.com/'`, 'user_email': '[email protected]'}