I\'m defining a create() method in d开发者_如何学Gojango-piston.I need to be able to receive and image with its description enconded in JSON.How to do it?Shall they be processed in two separate HTTP r
I am currently writing an API for a django project, and using django-piston for this. However, I need to customize the way certain base types are serialized.
I have started using django-piston for creating APIS but I am ha开发者_运维知识库ving trouble finding documentation on how to consume the API from inside django with python. I have seen examples using
I\'m developing an adv开发者_运维知识库ertising site and want to use web services for the requests. I mean, a publisher site will put a JavaScript snippet and it will pull a banner through a REST GET.
I have setup like so (changed for simplicity) class Author(models.Model) name = models.CharField(max_length=100)
In a piston handler, I need to return a django.db.models.query.QuerySet as a proper JSON message (reflective of the underly model and query), while also adding an HttpResponse header of my own. So far
I have a model which contains a ManyToMany to User to keep track of which users have \'favorited\' a particular model instance.
I had django-piston working a week ago but recently I\'m unable to call any web services. Below is a simple example. I have a \'test\' service that returns \'yes\' if there is a content type and \'no\
I am having a few problems setting up Django Piston. I have managed to get as far as generating authentication via the oauth_client.py sample shown here (http://github.com/clemesha/django-piston-oauth
I\'ve built a Django web application and some Django-Piston services. Using a web interface a user submits some data which is POSTed to a web service and that web service in turn uses Django-celery to