1👍
You just need to replace
return child_resource.get_detail(request, parent_id=obj.pk)
By
return child_resource.get_list(request, parent_id=obj.pk)
Source:stackexchange.com
1👍
You just need to replace
return child_resource.get_detail(request, parent_id=obj.pk)
By
return child_resource.get_list(request, parent_id=obj.pk)