mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +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:
@@ -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