My Ajax call has in it the data:
data: { hint: {'asdf':4} },
I feel like I should be able to access this object with
request.POST['hint'] # and possibly request.POST['hint']['asdf'] to get 4
but this error comes in the way. I look at
MultiValueDictKeyError at /post_url/
"'hint'"
When I print the post data I get strangely misformed dictionary:
<QueryDict: {u'hint[asdf]': [u'4']}>
How am I supposed to correctly pass the data, so I that I retain the same structure in Python and use it the same way I did in JS?