Follow the example of Tastypie docs and add something like this to the places resource:
class PlacesResource(ModelResource):
The idea is that you define a URL between the URL /places/{PLACE_ID}/comments and the method of your resource ( get_comments() in this example). The method should return an HttpResponse instance, but you can use the methods suggested by Tastypie to do all the processing (wrapped with create_response() ). I suggest you take a look at the tastypie.resources module and see how Tastypie handles requests, in particular lists.
source share