Skip to content

Commit 2f4c99a

Browse files
authored
Declare ManyToManyField.description a _StrOrPromise (#2312)
1 parent c9adf6b commit 2f4c99a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django-stubs/db/models/fields/related.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ _Through = TypeVar("_Through", bound=Model)
242242
_To = TypeVar("_To", bound=Model)
243243

244244
class ManyToManyField(RelatedField[Any, Any], Generic[_To, _Through]):
245-
description: str
245+
description: _StrOrPromise
246246
has_null_arg: bool
247247
swappable: bool
248248

0 commit comments

Comments
 (0)