Forms
hypha.apply.stream_forms.forms
¶
MixedFieldMetaclass
¶
Bases: DeclarativeFieldsMetaclass
Stores all fields passed to the class and not just the field type. This allows the form to be rendered when Field-like blocks are passed in as part of the definition
StreamBaseForm
¶
Bases: FileFormMixin
, Form
swap_fields_for_display
¶
Source code in hypha/apply/stream_forms/forms.py
hidden_fields
¶
delete_temporary_files
¶
Overridden method of django_file_form's FileFormMixin, to handle multiple forms on the same page.
Source code in hypha/apply/stream_forms/forms.py
PageStreamBaseForm
¶
Bases: BaseForm
, StreamBaseForm
Adds page and user reference to the form class
swap_fields_for_display
¶
Source code in hypha/apply/stream_forms/forms.py
hidden_fields
¶
delete_temporary_files
¶
Overridden method of django_file_form's FileFormMixin, to handle multiple forms on the same page.