![How to filter a field from a child model which has a foreign key in parent model in django rest framework? : r/django How to filter a field from a child model which has a foreign key in parent model in django rest framework? : r/django](https://preview.redd.it/vuvsz76b4d061.jpg?width=983&format=pjpg&auto=webp&s=a269e33fdfba258b4a5595c2bc03d547fa63b583)
How to filter a field from a child model which has a foreign key in parent model in django rest framework? : r/django
![python 3.x - Django rest-framework with GenericViewSet: Filter results base on query parameters from the url - Stack Overflow python 3.x - Django rest-framework with GenericViewSet: Filter results base on query parameters from the url - Stack Overflow](https://i.stack.imgur.com/5Q1K6.png)
python 3.x - Django rest-framework with GenericViewSet: Filter results base on query parameters from the url - Stack Overflow
TestDriven.io on Twitter: "To filter results based on query parameters you can override the get_queryset method. For example, you can filter blogs by a title if the title query parameter is present👇
![A Comprehensive Guide to creating an API Endpoint with Django Rest Framework and Advanced Django Filters with PostgreSQL | by Ozgur Yarikkas | Medium A Comprehensive Guide to creating an API Endpoint with Django Rest Framework and Advanced Django Filters with PostgreSQL | by Ozgur Yarikkas | Medium](https://miro.medium.com/v2/resize:fit:1200/1*6onebwzFcvaJjw77fyu-fQ.png)
A Comprehensive Guide to creating an API Endpoint with Django Rest Framework and Advanced Django Filters with PostgreSQL | by Ozgur Yarikkas | Medium
![django-rest-framework-datatables documentation — django-rest-framework-datatables 0.1.0 documentation django-rest-framework-datatables documentation — django-rest-framework-datatables 0.1.0 documentation](https://django-rest-framework-datatables.readthedocs.io/en/latest/_images/screenshot.jpg)
django-rest-framework-datatables documentation — django-rest-framework-datatables 0.1.0 documentation
![filter on uuid seems to break · Issue #696 · django-json-api/django-rest -framework-json-api · GitHub filter on uuid seems to break · Issue #696 · django-json-api/django-rest -framework-json-api · GitHub](https://user-images.githubusercontent.com/161722/63643860-95f51280-c68f-11e9-96e4-c967df9cd7a8.png)