[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:
Mariusz Felisiak 2020-08-18 09:30:31 +02:00
parent c5a804207d
commit 6eb0f4f70d
1 changed files with 4 additions and 4 deletions

View File

@ -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.