mirror of
https://github.com/davidhalter/django-stubs.git
synced 2025-12-18 09:56:00 +08:00
Correct order for FileField __init__ args (#568)
This commit is contained in:
@@ -38,10 +38,10 @@ class FileField(Field):
|
|||||||
upload_to: Union[str, Callable] = ...
|
upload_to: Union[str, Callable] = ...
|
||||||
def __init__(
|
def __init__(
|
||||||
self,
|
self,
|
||||||
upload_to: Union[str, Callable, Path] = ...,
|
|
||||||
storage: Optional[Union[Storage, Callable[[], Storage]]] = ...,
|
|
||||||
verbose_name: Optional[Union[str, bytes]] = ...,
|
verbose_name: Optional[Union[str, bytes]] = ...,
|
||||||
name: Optional[str] = ...,
|
name: Optional[str] = ...,
|
||||||
|
upload_to: Union[str, Callable, Path] = ...,
|
||||||
|
storage: Optional[Union[Storage, Callable[[], Storage]]] = ...,
|
||||||
max_length: Optional[int] = ...,
|
max_length: Optional[int] = ...,
|
||||||
unique: bool = ...,
|
unique: bool = ...,
|
||||||
blank: bool = ...,
|
blank: bool = ...,
|
||||||
|
|||||||
Reference in New Issue
Block a user