It seems that Tastypie does not automatically write off lists tastypie.resourcesaround the line 1027:
def get_list(self, request, **kwargs):
objects = self.obj_get_list(
request=request, **self.remove_api_resource_names(kwargs))
whereas with the details (around the line 1050):
def get_detail(self, request, **kwargs):
try:
obj = self.cached_obj_get(
request=request, **self.remove_api_resource_names(kwargs))
... , obj_get_list cached_obj_get_list. , get_list cached_obj_get_list ?
, , http://localhost:8000/api/poll/<pk>/?format=json ( ), http://localhost:8000/api/poll/?format=json ( ) .