django-piston
POSTing JPG|PNG along with JSON description with django-piston
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[详细]
2023-01-21 01:25 分类:问答django-piston : Overriding default serialization in emitters
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.[详细]
2023-01-20 08:08 分类:问答What is the best way to consume a django-piston REST API from a Django view?
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[详细]
2023-01-19 21:42 分类:问答Is django-piston mature enough?
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.[详细]
2023-01-16 17:15 分类:问答Handling related models in Django for use in Django-Piston
I have setup like so (changed for simplicity) class Author(models.Model) name = models.CharField(max_length=100)[详细]
2023-01-16 06:03 分类:问答How to set an HTTP header for a JSON message from within a django-piston handler?
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[详细]
2023-01-15 15:53 分类:问答How to access the request.user in a Piston classmethod
I have a model which contains a ManyToMany to User to keep track of which users have \'favorited\' a particular model instance.[详细]
2023-01-13 02:05 分类:问答Django Piston Content Type Always Null
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\[详细]
2023-01-11 07:09 分类:问答Django Piston issue - "oauth_user_auth() takes exactly 1 argument (2 given)"
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[详细]
2023-01-09 03:46 分类:问答Running Django-Celery in Production
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[详细]
2023-01-08 09:50 分类:问答