In Django-Piston, is there a good way to do error handling? (Like returning a 400 status code when the caller omits a required GET parameter, or when the param开发者_JAVA百科eters are invalid.)Django-
django-piston appears to create a data attribute on the request object before it gets to the Handler phas开发者_StackOverflow社区e. This data is available, for example, in the PUT and POST handlers by
I have a Django app running django-piston for the first time. I\'ve got a handler configured for a model and it\'s rigged for GET and POST.
I\'m debugging some code written by another programmer that uses django-piston to provide an API that returns Python dictionary objects to the caller via JSON. I\'m following the documentation on pist
I\'ve been reading a lot on django-piston and using to to make an API for an app I\'m development, but I\'m getting hung up on the client side of the world. I\'ve written the handlers and uri mappings
When trying to authenticate via OAuth in Django Piston, the following exception is thrown: Environment:
I have a dict that I want to convert in JSON using simplejson. How can I ensure that all the keys of my dict are lowercase ?
When installing django-piston from the bitbucket repo with pip, I noticed something weird (first indented line of the output):
I\'m trying t开发者_C百科o set up piston on my Django project. I ran into a brick wall when I tried to POST (create) a new entry on a model that contains a ForeignKey: location.
I\'m trying to save a new object from a django model using a POST data querydict. This is part of a PISTON handler. I\'ve seen this done in numerous examples, but I just can\'t get it to work.