added base_fields and declared_fields properties to Form (#235)

This commit is contained in:
Patrick Gingras authored and Nikita Sobolev committed 2019-11-27 22:48:05 +03:00
1 parent 445abc046c
commit df4c17a947
1 file changed
+3 -1
+3 -1
View File
@@ -68,4 +68,6 @@ class BaseForm:
def visible_fields(self): ...
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]