2👍
✅
By the time you are using a ModelViewSet
, you will have to override the list()
method for example. The signature is list(self, request, *args, **kwargs)
where as you understand, you can use the request object and manipulate your data as needed.
Let me know if you need further help!
Source:stackexchange.com