{"categories":[{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"}],"enrichment":{"capability":"Extends Django REST Framework with advanced filtering capabilities, enabling you to filter API results across model relationships and apply negation syntax like `param!=value`.","skillfed_tags":["django-rest-framework","filtering","query-builder"],"use_cases":["Filter API results by nested model fields without writing custom filter logic (e.g., find articles by author's first name).","Build exclusion filters using `!=` syntax to exclude records matching a condition in a single query parameter.","Traverse multiple relationship levels in a single filter call (e.g., company \u2192 department \u2192 manager).","Support method-based filtering across relationships, allowing custom logic to apply to related querysets.","Restrict related object querysets dynamically based on request context (e.g., show only departments in the user's company)."],"what_it_does":"djangorestframework-filters is an extension to Django REST Framework and django-filter that simplifies filtering across model relationships in API endpoints. Instead of writing complex query logic, you can traverse foreign keys and reverse relations using double-underscore syntax (e.g., `/api/articles?author__first_name__icontains=john`) and apply exclusion filters with a `!=` operator. The package wraps FilterSet and provides a DRF-compatible backend.\n\nThe package's main appeal is relationship traversal and method-based filtering, though the description notes that many of its original features have been merged back into django-filter itself. It depends on both djangorestframework and django-filter as runtime dependencies. The codebase is dormant\u2014no releases since 2019-03-21 and last activity in 2023-11-25\u2014so it is stable but receives no active maintenance or updates for newer versions.","worth_installing":"Yes, if you are using Django and DRF versions from the 2015\u20132019 era and need relationship-aware filtering without custom code. No, if you are on modern Django/DRF versions\u2014compatibility is unverified, the package is dormant, and django-filter itself has absorbed many of the original features. Check whether django-filter's current capabilities meet your needs before adopting this package."},"id":"djangorestframework-filters","links":{"html":"https://skillfed.io/packages/djangorestframework-filters","md":"https://skillfed.io/packages/djangorestframework-filters.md","pypi":"https://pypi.org/project/djangorestframework-filters/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2019-03-21","license_spdx":null,"license_treatment":"permissive","name":"djangorestframework-filters","python_support":"unspecified","summary":"Better filtering for Django REST Framework"},"popularity":{"monthly_downloads":347792,"position":7346,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.11.1"}
