Skip to content

Commit 10e0694

Browse files
Fix missing args on SlugField.__init__ (#879)
1 parent f4d3895 commit 10e0694

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

django-stubs/forms/fields.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -378,6 +378,10 @@ class SlugField(CharField):
378378
def __init__(
379379
self,
380380
allow_unicode: bool = ...,
381+
max_length: Optional[Any] = ...,
382+
min_length: Optional[Any] = ...,
383+
strip: bool = ...,
384+
empty_value: Optional[str] = ...,
381385
required: bool = ...,
382386
widget: Optional[Union[Widget, Type[Widget]]] = ...,
383387
label: Optional[Any] = ...,

0 commit comments

Comments
 (0)