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
Let\'s take this sample : url(r\'^test[/]$\', test_handler, { \'emitter_format\': \'xml\' }), With the following handler :
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.
I\'m using django-piston to write a RESTful Web Service and have a problem. in models.py: class Status(models.Model):
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
I\'m having a problem regarding the automagic documentation generated in django-pyston. Right now I have this and works:
I\'m using django-piston and running into the following problem when running开发者_如何转开发 the manage.py syncdb command:
My piston application works correctly when I run it locally with python manage.py runserver command but returns
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
I created this simple project to illustrate my problem. These are my models: class Zoo(models.Model): name = models.CharField(max_length=30)