Skip to content

Commit

Permalink
Declare ManyToManyField.description a _StrOrPromise (#2312)
Browse files Browse the repository at this point in the history
  • Loading branch information
flaeppe committed Aug 2, 2024
1 parent c9adf6b commit 2f4c99a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/db/models/fields/related.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ _Through = TypeVar("_Through", bound=Model)
_To = TypeVar("_To", bound=Model)

class ManyToManyField(RelatedField[Any, Any], Generic[_To, _Through]):
description: str
description: _StrOrPromise
has_null_arg: bool
swappable: bool

Expand Down

0 comments on commit 2f4c99a

Please sign in to comment.