Skip to content

Commit d5e6d92

Browse files
fix field description to be _StrOrPromise (#35)
compat with mypy 1.16 Co-authored-by: sobolevn <[email protected]>
1 parent 281be3f commit d5e6d92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ class Field(RegisterLookupMixin, Generic[_ST, _GT]):
130130
model: type[Model]
131131
name: str
132132
verbose_name: _StrOrPromise
133-
description: str | _Getter[str]
133+
description: _StrOrPromise | _Getter[_StrOrPromise]
134134
blank: bool
135135
null: bool
136136
unique: bool

0 commit comments

Comments
 (0)