From 10e06947d760c4979a260628c65d55de0abff0a1 Mon Sep 17 00:00:00 2001 From: Anderson Luiz de Souza Date: Sun, 20 Mar 2022 13:40:55 -0300 Subject: [PATCH] Fix missing args on SlugField.__init__ (#879) --- django-stubs/forms/fields.pyi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/django-stubs/forms/fields.pyi b/django-stubs/forms/fields.pyi index 704c6939e..da6b535cd 100644 --- a/django-stubs/forms/fields.pyi +++ b/django-stubs/forms/fields.pyi @@ -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] = ...,