choices This attribute is optional when the form field does not have a choices attribute. If it does, it will override
min_value These control the range of values permitted in the field.
modelform_factory(model, form=ModelForm, fields=None, exclude=None, formfield_callback=None, widgets=None, localized_fields=None, labels=None, help_texts=None, error_messages=None
id_for_label(self, id_) [source] Returns the HTML ID attribute of this widget for use by
format_value(value) Cleans and returns a value for use in the widget template. value isn’t guaranteed to be valid
class ModelMultipleChoiceField(**kwargs) [source] Default widget:
empty_label By default the <select> widget used by ModelChoiceField will have an empty choice
Form.as_p() as_p() renders the form as a series of <p> tags, with each <p>
BoundField.as_hidden(attrs=None, **kwargs) [source] Returns a string of HTML for representing
Detailed form API reference. For introductory material, see the Working with forms topic guide.
Page 1 of 18