module documentation

Undocumented

Class BaseFormSet A collection of instances of the same Form class.
Class ManagementForm 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.
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
def all_valid(formsets): (source)

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): (source)

Return a FormSet for the given form class.

DEFAULT_MAX_NUM: int = (source)

Undocumented

Value
1000
DEFAULT_MIN_NUM: int = (source)

Undocumented

Value
0
DELETION_FIELD_NAME: str = (source)

Undocumented

Value
'DELETE'
INITIAL_FORM_COUNT: str = (source)

Undocumented

Value
'INITIAL_FORMS'
MAX_NUM_FORM_COUNT: str = (source)

Undocumented

Value
'MAX_NUM_FORMS'
MIN_NUM_FORM_COUNT: str = (source)

Undocumented

Value
'MIN_NUM_FORMS'
ORDERING_FIELD_NAME: str = (source)

Undocumented

Value
'ORDER'
TOTAL_FORM_COUNT: str = (source)

Undocumented

Value
'TOTAL_FORMS'