A class decorator to register the class as a dynamic form field in the DynamicFormFieldRegistry.
Metaclass that inspects the Meta class of a class inheriting from BaseDynamicFormField and merges the different attributes that are later being passed to the respective django.forms.Field.
You are free to add an attribute _exclude of type list or tuple to the Meta class of a field to exclude any attributes inherited from a super DynamicFormField. Look at the implementation of the BooleanField for an example.
None
None
None
[six.string_types, ‘’, (forms.CharField, forms.Textarea)]
[bool, True, forms.NullBooleanField]
Returns a class’s display_type is defined or calls format_display_type() with the class’s name.
This function is only available to the class itself. It is not callable from an instance.
'django.forms.ChoiceField
'Choices
'django.forms.DateTimeField
‘Date and Time’
'django.forms.CharField
'Multi Line Text
'django.forms.widgets.Textarea