tastypie
Login A User in iPhone with Twitter and Save Authenticated User to Remote Django Application
I have a vague idea of how to do th开发者_如何学编程is. My app is consuming an API written in Django, but my client required me to do authentication only with Twitter. The problem is, after I log the[详细]
2023-04-11 16:26 分类:问答django-tastypie: linking a ModelResource to a Resource
I\'m currently trying django-tastypie to design a RESTful api. I\'m facing a problem: # the RevisionObject retrieve commits info through pysvn[详细]
2023-04-11 07:40 分类:问答Why isn't the exception caught by << try >>?
I have a Python (Django) unit test FAIL from an exception, but the failing code is in a try / except block written for that exception.A similar block handles the exception when it is directly raised.[详细]
2023-04-10 07:40 分类:问答How do I return data from a related model in Django Tastypie?
How do I bring in the information from another model? I have two models Article, and ArticleBody Article containing the main info and ArticleBody containing a loop of body and image information[详细]
2023-04-04 23:53 分类:问答tastypie authentication / custom response
Are there any examples of using the APIKey authentication in tastypie. The example provided doesn\'t really go into detail on how it works.[详细]
2023-04-04 18:59 分类:问答Customizing Tastypie's URL Conf
I am porting my API from Piston to TastyPie.We have existing clients, so we want to keep the url structure of the API the same.[详细]
2023-04-03 09:03 分类:问答need an example of doing authorization using django-tastypie
I am relatively new with Django and it\'s ecosystem. I am writing REST api for our mobile client using django-tastypie. I have gone through almost all the examples on the web about how to use tastypie[详细]
2023-03-31 18:06 分类:问答Ajax POST and Django Tastypie
curl --dump-header - -H \"Content-Type: application/json\" -X POST --data \'{\"latlong\": \"test\"}\' http://localhost:8000/geo/api/geolocation/[详细]
2023-03-30 09:44 分类:问答using comparisons in tastypie filters
how would i access the the url with comparisons in tastypie? for instance if my filters are 开发者_Python百科set up like this:[详细]
2023-03-27 06:28 分类:问答REST urls with tastypie
I\'m using tastypie in my django application and I\'m trying to get it to 开发者_如何学Cmap urls like \"/api/booking/2011/01/01\" which maps to a Booking model with the specified timestamp in the url.[详细]
2023-03-26 03:26 分类:问答