Models¶
FormModel
¶
-
class
dynamic_forms.models.
FormModel
¶ -
name
¶ -
- max_length = 50
- unique =
True
-
submit_url
¶ -
- max_length = 100
- unique =
True
-
success_url
¶ -
- max_length = 100
- blank =
True
- default =
''
-
actions
¶ dynamic_forms.fields.TextMultiSelectField
- default =
''
- choices =
dynamic_forms.actions.ActionRegistry.get_as_choices()
- default =
-
form_template
¶ -
- max_length = 100
- choices =
dynamic_forms.conf.DYNAMIC_FORMS_FORM_TEMPLATES
-
success_template
¶ -
- max_length = 100
- choices =
dynamic_forms.conf.DYNAMIC_FORMS_SUCCESS_TEMPLATES
-
allow_display
¶ -
- default =
False
- default =
-
recipient_email
¶
-
fields
¶ Related name by
FormFieldModel
-
data
¶ Related name by
FormModelData
-
dynamic_forms.models.
get_fields_as_dict
()¶
-
dynamic_forms.models.
save
([*args, **kwargs])¶
-
FormFieldModel
¶
-
class
dynamic_forms.models.
FormFieldModel
¶ -
-
field_type
¶ -
- max_length = 255
- choices =
dynamic_forms.formfields.DynamicFormFieldRegistry.get_as_choices()
-
label
¶ -
- max_length = 255
-
name
¶ -
- max_length = 50
- blank =
True
-
_options
¶ -
- blank =
True
- null =
True
- blank =
-
position
¶ django.db.models.SmallIntegerField
- blank =
True
- default = 0
- blank =
-
dynamic_forms.models.
__str__
() -
dynamic_forms.models.
__unicode__
()
-
dynamic_forms.models.
generate_form_field
(form)¶
-
dynamic_forms.models.
get_form_field_kwargs
()¶
-
dynamic_forms.models.
save
([*args, **kwargs])
-