Re: Prolem dealing with json post data

2009-04-26 Thread Francis
You're perfectly right. raw_post_data did the trick. Thank you On Apr 25, 6:31 pm, Malcolm Tredinnick wrote: > On Thu, 2009-04-23 at 21:23 -0700, Francis wrote: > > Hi, I'm using dojo (also tried with jquery) to sendjsondata to my > > django application. > > > But

Re: Prolem dealing with json post data

2009-04-25 Thread Malcolm Tredinnick
On Thu, 2009-04-23 at 21:23 -0700, Francis wrote: > Hi, I'm using dojo (also tried with jquery) to send json data to my > django application. > > But I can't get it working properly. The trick to understanding is to think how are you sending the data? In particular, what MIME type is being

Prolem dealing with json post data

2009-04-23 Thread Francis
Hi, I'm using dojo (also tried with jquery) to send json data to my django application. But I can't get it working properly. The problem is that my json data is manage as a dict key with an empty string as value. json data : {"Home":{"Id":"1","Name":"home"},"Home2":{"Id":"3","Name":"Home2"}}