diff --git a/django-stubs/db/migrations/serializer.pyi b/django-stubs/db/migrations/serializer.pyi index 99f332890..c05bec752 100644 --- a/django-stubs/db/migrations/serializer.pyi +++ b/django-stubs/db/migrations/serializer.pyi @@ -1,6 +1,8 @@ from collections.abc import Callable from typing import Any +FUNCTION_TYPES: tuple[type, ...] + class BaseSerializer: value: Any def __init__(self, value: Any) -> None: ... diff --git a/scripts/stubtest/allowlist_todo_django51.txt b/scripts/stubtest/allowlist_todo_django51.txt index 345fb2789..e68f2ade3 100644 --- a/scripts/stubtest/allowlist_todo_django51.txt +++ b/scripts/stubtest/allowlist_todo_django51.txt @@ -190,7 +190,6 @@ django.db.migrations.operations.models.RenameModel.category django.db.migrations.operations.special.RunPython.category django.db.migrations.operations.special.RunSQL.category django.db.migrations.operations.special.SeparateDatabaseAndState.category -django.db.migrations.serializer.FUNCTION_TYPES django.db.models.CharField.slice_expression django.db.models.CheckConstraint.__init__ django.db.models.Field.slice_expression