3 Repos
Pluggable components that process and restrict database querysets based on request parameters.
Distinguishing note: Focuses on reusable, modular backend components for filtering rather than manual query manipulation.
Explore 3 awesome GitHub repositories matching data & databases · Queryset Filtering Backends. Refine with filters or upvote what's useful.
Django REST Framework is a toolkit for building standards-compliant web services that map complex data models to structured HTTP responses. It provides a modular architecture for handling the request lifecycle, including authentication, permission checks, and content negotiation. The framework is designed to facilitate the development of robust APIs by transforming complex data types into native formats and validating incoming request payloads against defined schemas. The project distinguishes itself through a highly modular, class-based design that allows developers to build complex views an
Django REST Framework processes querysets using filter backends to restrict results and optionally render interface controls for users across multiple views.
django-filter ist eine Bibliothek zum Filtern von Django QuerySets durch Zuordnung von URL-Parametern zu Datenbankabfragen unter Verwendung deklarativer Syntax. Sie fungiert als Modellfilter-Generator und Datenbank-Abfragetool, das Anfrageparameter in Abfragen übersetzt, um Datenergebnisse zu verfeinern. Das Projekt ermöglicht die automatische Generierung von Suchfiltern und benutzerorientierten Formularen basierend auf Modellfelddefinitionen. Es unterstützt fortgeschrittene Abfragelogik durch benutzerdefinierte Suchmethoden, Beziehungspfade und Volltextsuche-Integration, während es ein System zur Verfeinerung von Ergebnissen innerhalb von REST-API-Endpunkten bereitstellt. Der Funktionsumfang umfasst die Erstellung interaktiver Filterformulare, das Rendern gefilterter Listenansichten und die Verwendung von Factory-Funktionen für die dynamische Instanziierung von Filtersets. Das System handhabt zudem typspezifische Filterung für Booleans, UUIDs und ISO 8601-Zeitstempel sowie anfragebasierte Filterung unter Verwendung der authentifizierten Benutzeridentität.
Implements pluggable backends that constrain Django QuerySets based on parameters passed through the request URL.
Graphene-Django is a GraphQL integration framework and schema mapper used to build typed APIs for Django applications. It functions as a database API layer that transforms Django model fields and relationships into a graph schema, allowing clients to request specific data in a single call. The project implements the Relay specification, providing tools for global object identification and standardized connection-based pagination to manage large datasets. It distinguishes itself by mapping database models, forms, and serializers directly into GraphQL object types and mutations. The framework
Controls database record visibility and ownership at the GraphQL type level using custom queryset filtering logic.