mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-10 22:11:54 +08:00
Fix missing args on SlugField.__init__ (#879)
This commit is contained in:
committed by
GitHub
parent
f4d3895595
commit
10e06947d7
@@ -378,6 +378,10 @@ class SlugField(CharField):
|
|||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
allow_unicode: bool = ...,
|
allow_unicode: bool = ...,
|
||||||
|
max_length: Optional[Any] = ...,
|
||||||
|
min_length: Optional[Any] = ...,
|
||||||
|
strip: bool = ...,
|
||||||
|
empty_value: Optional[str] = ...,
|
||||||
required: bool = ...,
|
required: bool = ...,
|
||||||
widget: Optional[Union[Widget, Type[Widget]]] = ...,
|
widget: Optional[Union[Widget, Type[Widget]]] = ...,
|
||||||
label: Optional[Any] = ...,
|
label: Optional[Any] = ...,
|
||||||
|
|||||||
Reference in New Issue
Block a user