I am ussing @detail_route on my viewsets.ModelViewSet.
class CompanyViewSet(viewsets.ModelViewSet): queryset = Company.objects.all() serializer_class
DRF does not handle nested routes by itself, you may handle it by hand or use an extension, like drf-nested-routers, but its outdated.
My advice : don't fight the framework, DRF is not good at playing with url-nested resources, do it another way.