mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-13 00:20:17 +08:00
Fix Modelform auto_id to accept Boolean type. (#356)
This commit is contained in:
1 parent
a801501151
commit
90ed7f332d
1 file changed
+1
-1
@@ -21,7 +21,7 @@ class BaseForm:
|
||||
is_bound: bool = ...
|
||||
data: Dict[str, Any] = ...
|
||||
files: MultiValueDict[str, uploadedfile.UploadedFile] = ...
|
||||
auto_id: str = ...
|
||||
auto_id: Union[bool, str] = ...
|
||||
initial: Dict[str, Any] = ...
|
||||
error_class: Type[ErrorList] = ...
|
||||
prefix: str = ...
|
||||
|
||||
Reference in new issue
Block a user