Django
1.0
▾ django
▸ __main__
▸ apps
▸ bin
▸ conf
▸ contrib
▸ core
▸ db
▸ dispatch
▾ forms
▸ boundfield
▸ fields
▸ forms
▾ formsets
class
BaseFormSet
class
ManagementForm
▸ models
▸ renderers
▸ utils
▸ widgets
▸ http
▸ middleware
▸ shortcuts
▸ template
▸ templatetags
▸ test
▸ urls
▸ utils
▸ views
Module formsets
django
.
forms
.
formsets
source
link
Classes
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.
Functions
▶
def
all_valid
(
formsets
)
Validate every formset and return True if all are valid.
source
link
Reexports
Imported in
django.contrib.admin.options
.
▶
def
formset_factory
(
form, formset=BaseFormSet, extra=1, can_order=False, can_delete=False, ...
)
Return a FormSet for the given form class.
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
,
)
source
link
Reexports
Imported in
django.forms.models
.
Generated by
nedoc
v0.9 at 2020-12-29 14:04