1 个仓库
Automated generation of search filters based on database model field types and metadata.
Distinct from Type-Based Filters: Candidates focus on AI model selection or stream casting, not ORM model-to-filter generation.
Explore 1 awesome GitHub repository matching data & databases · Model-Based Filter Generation. Refine with filters or upvote what's useful.
django-filter 是一个用于过滤 Django QuerySets 的库,通过使用声明性语法将 URL 参数映射到数据库查找。它作为模型过滤器生成器和数据库查找工具,将请求参数转换为查询以优化数据结果。 该项目支持基于模型字段定义自动生成搜索过滤器和用户界面表单。它通过自定义查找方法、关系路径和全文搜索集成支持高级检索逻辑,同时提供用于在 REST API 端点内优化结果的系统。 其功能面包括创建交互式过滤表单、渲染过滤后的列表视图,以及使用工厂函数进行动态过滤器集实例化。该系统还处理布尔值、UUID 和 ISO 8601 时间戳的特定类型过滤,以及使用经过身份验证的用户身份进行基于请求的过滤。
Creates search filters automatically based on model field types while allowing specific field inclusions or exclusions.