Querydict



Keywords: querydict
Description: I'm using a POST to send data to my django app. I usually do this from an iPhone app and/or a test html form. On the server side, this is how I handle it: That print statement looks like what you

I'm using a POST to send data to my django app. I usually do this from an iPhone app and/or a test html form. On the server side, this is how I handle it:

That print statement looks like what you would expect, i.e. each parameter in the post request is turned into a key in the dictionary:

However, I started writing some tests using Django's test client, and no matter what I try, the dictionary of POST parameters I send in the post request get bunched into a single key in the QueryDict. Allow me to illustrate with some code:

The same print statement on the server side shows the inexplicable grouping of the dictionary into a string:

Any help would be much appreciated. From this stackoverflow question it seems like I'm not the first one to run into this iphone Json POST request to Django server creates QueryDict within QueryDict






Photogallery Querydict:


python-django 1.0.2 - classdjango_1_1http_1_1_query_dict.html


Team | Zhlke  empowering ideas


ANSWERS-366] 500 error when viewing tags anonymously - Atlassian JIRA


Django form initial data being set as lists - Stack Overflow


InriaForge: TEFIS: [#13684] Clicking the 'settings' link results ...


Medtech | Zhlke  empowering ideas


Energy Providers | Zhlke  empowering ideas


Machinery, Electronics and Metal Industries | Zhlke  empowering ...


Digital Transformation Detail | Zhlke  empowering ideas


Lab Science, Pharmaceuticals & Biotechnology | Zhlke  empowering ...


Banks & Financial Service Providers | Zhlke  empowering ideas


Data Analytics | Zhlke  empowering ideas


Telecommunications | Zhlke  empowering ideas


Internet of Things Detail | Zhlke  empowering ideas


FreeNAS / Bugs / #886 Beta4 fails to import volumes


Django with Ajax, a modern client-server communication practise ...


El libro de django


El libro de django


El libro de django