Skip to content

Commit

Permalink
Fix missing args on SlugField.__init__ (#879)
Browse files Browse the repository at this point in the history
  • Loading branch information
andersonsouza authored Mar 20, 2022
1 parent f4d3895 commit 10e0694
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions django-stubs/forms/fields.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,10 @@ class SlugField(CharField):
def __init__(
self,
allow_unicode: bool = ...,
max_length: Optional[Any] = ...,
min_length: Optional[Any] = ...,
strip: bool = ...,
empty_value: Optional[str] = ...,
required: bool = ...,
widget: Optional[Union[Widget, Type[Widget]]] = ...,
label: Optional[Any] = ...,
Expand Down

0 comments on commit 10e0694

Please sign in to comment.