mirror of https://github.com/django/django.git
[3.1.x] Refs #17642 -- Doc'd min_num and validate_min arguments in modelformset_factory() docs.
Changed arguments ordering to match the modelformset_factory()
signature.
Backport of 13704b057d
from master.
This commit is contained in:
parent
c5a804207d
commit
6eb0f4f70d
|
@ -61,10 +61,10 @@ Model Form API reference. For introductory material about model forms, see the
|
|||
``help_texts``, ``error_messages``, and ``field_classes`` are all passed
|
||||
through to :func:`~django.forms.models.modelform_factory`.
|
||||
|
||||
Arguments ``formset``, ``extra``, ``max_num``, ``can_order``,
|
||||
``can_delete`` and ``validate_max`` are passed through to
|
||||
:func:`~django.forms.formsets.formset_factory`. See :doc:`formsets
|
||||
</topics/forms/formsets>` for details.
|
||||
Arguments ``formset``, ``extra``, ``can_delete``, ``can_order``,
|
||||
``max_num``, ``validate_max``, ``min_num``, and ``validate_min`` are passed
|
||||
through to :func:`~django.forms.formsets.formset_factory`. See
|
||||
:doc:`formsets </topics/forms/formsets>` for details.
|
||||
|
||||
See :ref:`model-formsets` for example usage.
|
||||
|
||||
|
|
Loading…
Reference in New Issue