mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-19 12:31:30 +08:00
Don't allow promise to be passed to ArrayField.name (#1171)
This was incorrectly changed in #1168, so reverting that change.
This commit is contained in:
1 parent
56f74f1940
commit
1f2e406972
1 file changed
+1
-1
@@ -28,7 +28,7 @@ class ArrayField(CheckFieldDefaultMixin, Field[_ST, _GT]):
|
||||
size: Optional[int] = ...,
|
||||
*,
|
||||
verbose_name: Optional[_StrOrPromise] = ...,
|
||||
name: Optional[_StrOrPromise] = ...,
|
||||
name: Optional[str] = ...,
|
||||
primary_key: bool = ...,
|
||||
max_length: Optional[int] = ...,
|
||||
unique: bool = ...,
|
||||
|
||||
Reference in new issue
Block a user