mirror of
https://github.com/davidhalter/django-stubs.git
synced 2026-10-28 16:43:26 +08:00
added base_fields and declared_fields properties to Form (#235)
This commit is contained in:
1 parent
445abc046c
commit
df4c17a947
1 file changed
+3
-1
@@ -68,4 +68,6 @@ class BaseForm:
|
|||||||
def visible_fields(self): ...
|
def visible_fields(self): ...
|
||||||
def get_initial_for_field(self, field: Field, field_name: str) -> Any: ...
|
def get_initial_for_field(self, field: Field, field_name: str) -> Any: ...
|
||||||
|
|
||||||
class Form(BaseForm): ...
|
class Form(BaseForm):
|
||||||
|
base_fields: Dict[str, Field]
|
||||||
|
declared_fields: Dict[str, Field]
|
||||||
Reference in new issue
Block a user