from rest_framework.decorators import detail_route
from rest_framework import viewsets


class MyObjectsViewSet(viewsets.ViewSet):
    pass
How to build a Django REST route that extracts multiple arguments from the URL?