How to filter data in DRF viewset

This is normal usage of viewset. And if you want to filter some data using path parameter in DRF, Just do it like below. Or if you use mixins, Its implementation includes the following methods (HTTP verb and endpoint on bracket) Rest is same as documentation. source: https://stackoverflow.com/questions/42582859/filtering-using-viewsets-in-django-rest-framework/42632306#42632306

계속 읽기