django-piston
piston-django how many methods should a single handler contain
I\'ve been building a handler class for each 开发者_运维技巧method I want to map to the url file. Is my approach correct or wrong? because I don\'t seem to find a way to map a resource to a method the[详细]
2023-03-14 22:51 分类:问答Django Piston : Define the priority of the returned elements
Let\'s take this sample : url(r\'^test[/]$\', test_handler, { \'emitter_format\': \'xml\' }), With the following handler :[详细]
2023-03-13 01:07 分类:问答Ajax call for a Django(Piston) API always fail
I\'m using an ajax call to my API created with Piston/Django. I tested that the API URLs are correct by directly typing them in the browser.[详细]
2023-03-12 08:59 分类:问答How to update a model but return unmodified model in Django?
I\'m using django-piston to write a RESTful Web Service and have a problem. in models.py: class Status(models.Model):[详细]
2023-03-11 04:12 分类:问答Building a geospatial querying REST api
I am trying to build an iOS app that takes the location of the user and then queries the backend for other users near him/her through a REST api.I have done some googling and my choices (given my expe[详细]
2023-03-08 16:46 分类:问答django-piston generated documentation for several handlers
I\'m having a problem regarding the automagic documentation generated in django-pyston. Right now I have this and works:[详细]
2023-03-01 13:54 分类:问答Sync django-piston models when using egg module
I\'m using django-piston and running into the following problem when running开发者_如何转开发 the manage.py syncdb command:[详细]
2023-02-27 20:12 分类:问答How to debug django-piston application?
My piston application works correctly when I run it locally with python manage.py runserver command but returns[详细]
2023-02-25 09:27 分类:问答how to read an lxml.objectify.ObjectifiedElement object with django-piston?
I am trying to make a django-piston API which reads another API and presents it in a different format (reads an XML-only API and presents it in JSON). But I am having trouble, because the way I am doi[详细]
2023-02-20 21:12 分类:问答Django-piston: Difference between returning a queryset and a list?
I created this simple project to illustrate my problem. These are my models: class Zoo(models.Model): name = models.CharField(max_length=30)[详细]
2023-02-17 07:24 分类:问答