diff --git a/rest_framework-stubs/compat.pyi b/rest_framework-stubs/compat.pyi index bd12eafde..61753a019 100644 --- a/rest_framework-stubs/compat.pyi +++ b/rest_framework-stubs/compat.pyi @@ -50,7 +50,6 @@ def pygments_css(style: Any) -> str | None: ... def pygments_highlight(text: str, lang: str, style: Any) -> Any: ... def md_filter_add_syntax_highlight(md: Any) -> bool: ... def unicode_http_header(value: str | bytes) -> str: ... -def distinct(queryset: QuerySet, base: QuerySet | None) -> QuerySet: ... SHORT_SEPARATORS: tuple[str, str] LONG_SEPARATORS: tuple[str, str] @@ -73,7 +72,6 @@ __all__ = [ "pygments_highlight", "md_filter_add_syntax_highlight", "unicode_http_header", - "distinct", "SHORT_SEPARATORS", "LONG_SEPARATORS", "INDENT_SEPARATORS", diff --git a/scripts/stubtest/allowlist_todo.txt b/scripts/stubtest/allowlist_todo.txt index e807c6039..18d3929a3 100644 --- a/scripts/stubtest/allowlist_todo.txt +++ b/scripts/stubtest/allowlist_todo.txt @@ -139,7 +139,6 @@ rest_framework.views.GenericView # Added in 3.15: rest_framework.RemovedInDRF317Warning rest_framework.authtoken.migrations.0004_alter_tokenproxy_options -rest_framework.compat.distinct rest_framework.fields.DecimalField.__init__ rest_framework.fields.Field.__class_getitem__ rest_framework.fields.logger