On Mon, Feb 24, 2014 at 7:37 PM, Daniel Smith
<daniel.sm...@schrodinger.com> wrote:
> Thank you very much for the help. So it sounds like I just have to suck it
> up and call json.loads() on request.body.
>
> The 'format=json' thing is related to also using the TastyPie test client.
> I've tried both and forgot where that parameter was used.
>
> Thanks,
> Daniel

Possibly - but the thing you DO have to do is give JSON data *TO* the
test client, instead of a python dictionary which will get converted
to a string (which, by chance, is JSON decodable).

Cheers

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFHbX1KYmtN2z7t56eK2k35yc8r9%3DjesxuKp6KyTAoT4oh8iWw%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to