I am developing a django site that has a RESTful API, and allows for json representations of the resources.
I have hit a bit of a hitch with respect to the data that I need to PUT, to do with the inbuilt test client. If I use client.post(url, data, content_type='application/json', **AUTH), then it works fine: I can create an object no worries. If I use client.put(url, data, content_type='application/json', **AUTH), then it fails, when it tries to encode the multipart data, which it shouldn't be doing. Anyone else come across this? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---