1 个仓库
Mechanisms for handling unexpected or undefined parameters in database queries.
Distinguishing note: Existing candidates focus on log fields or UI errors; this is about database query parameter handling logic.
Explore 1 awesome GitHub repository matching data & databases · Query Parameter Validation. Refine with filters or upvote what's useful.
django-filter 是一个用于过滤 Django QuerySets 的库,通过使用声明性语法将 URL 参数映射到数据库查找。它作为模型过滤器生成器和数据库查找工具,将请求参数转换为查询以优化数据结果。 该项目支持基于模型字段定义自动生成搜索过滤器和用户界面表单。它通过自定义查找方法、关系路径和全文搜索集成支持高级检索逻辑,同时提供用于在 REST API 端点内优化结果的系统。 其功能面包括创建交互式过滤表单、渲染过滤后的列表视图,以及使用工厂函数进行动态过滤器集实例化。该系统还处理布尔值、UUID 和 ISO 8601 时间戳的特定类型过滤,以及使用经过身份验证的用户身份进行基于请求的过滤。
Allows developers to configure how the system responds to URL parameters that do not map to any defined filter fields.