module documentation

Undocumented

Class ​Base​Form​Set A collection of instances of the same Form class.
Function formset​_factory Return a FormSet for the given form class.
Constant DEFAULT​_MAX​_NUM Undocumented
Constant DEFAULT​_MIN​_NUM Undocumented
Constant DELETION​_FIELD​_NAME Undocumented
Constant INITIAL​_FORM​_COUNT Undocumented
Constant MAX​_NUM​_FORM​_COUNT Undocumented
Constant MIN​_NUM​_FORM​_COUNT Undocumented
Constant ORDERING​_FIELD​_NAME Undocumented
Constant TOTAL​_FORM​_COUNT Undocumented
Class ​Management​Form Keep track of how many form instances are displayed on the page. If adding new forms via JavaScript, you should increment the count field of this form as well.
Function all​_valid Validate every formset and return True if all are valid.
def formset_factory(form, formset=BaseFormSet, extra=1, can_order=False, can_delete=False, max_num=None, validate_max=False, min_num=None, validate_min=False, absolute_max=None, can_delete_extra=True, renderer=None):
Return a FormSet for the given form class.
DEFAULT_MAX_NUM: int =

Undocumented

Value
1000
DEFAULT_MIN_NUM: int =

Undocumented

Value
0
DELETION_FIELD_NAME: str =

Undocumented

Value
'DELETE'
INITIAL_FORM_COUNT: str =

Undocumented

Value
'INITIAL_FORMS'
MAX_NUM_FORM_COUNT: str =

Undocumented

Value
'MAX_NUM_FORMS'
MIN_NUM_FORM_COUNT: str =

Undocumented

Value
'MIN_NUM_FORMS'
ORDERING_FIELD_NAME: str =

Undocumented

Value
'ORDER'
TOTAL_FORM_COUNT: str =

Undocumented

Value
'TOTAL_FORMS'
def all_valid(formsets):
Validate every formset and return True if all are valid.