Skip to content

Commit

Permalink
Don't allow promise to be passed to ArrayField.name
Browse files Browse the repository at this point in the history
This was incorrectly changed in typeddjango#1168, so reverting that change.
  • Loading branch information
ljodal committed Sep 28, 2022
1 parent 56f74f1 commit 92ed6f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django-stubs/contrib/postgres/fields/array.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ...,
Expand Down

0 comments on commit 92ed6f6

Please sign in to comment.