Formset Functions

Formset Functions

Formset API reference. For introductory material about formsets, see the Formsets topic guide.

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) [source]

Returns a FormSet class for the given form class.

See Formsets for example usage.

The min_num and validate_min parameters were added.

© Django Software Foundation and individual contributors
Licensed under the BSD License.
https://docs.djangoproject.com/en/1.8/ref/forms/formsets/

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部