diff --git a/django-stubs/db/models/fields/__init__.pyi b/django-stubs/db/models/fields/__init__.pyi index 40f422781..95e37c5bc 100644 --- a/django-stubs/db/models/fields/__init__.pyi +++ b/django-stubs/db/models/fields/__init__.pyi @@ -219,6 +219,9 @@ class Field(RegisterLookupMixin, Generic[_ST, _GT]): limit_choices_to: Optional[_LimitChoicesTo] = ..., ordering: Sequence[str] = ..., ) -> _ChoicesList: ... + def _get_flatchoices(self) -> List[_Choice]: ... + @property + def flatchoices(self) -> List[_Choice]: ... def has_default(self) -> bool: ... def get_default(self) -> Any: ... def check(self, **kwargs: Any) -> List[CheckMessage]: ...