[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 ``help_texts``, ``error_messages``, and ``field_classes`` are all passed
through to :func:`~django.forms.models.modelform_factory`. through to :func:`~django.forms.models.modelform_factory`.
Arguments ``formset``, ``extra``, ``max_num``, ``can_order``, Arguments ``formset``, ``extra``, ``can_delete``, ``can_order``,
``can_delete`` and ``validate_max`` are passed through to ``max_num``, ``validate_max``, ``min_num``, and ``validate_min`` are passed
:func:`~django.forms.formsets.formset_factory`. See :doc:`formsets through to :func:`~django.forms.formsets.formset_factory`. See
</topics/forms/formsets>` for details. :doc:`formsets </topics/forms/formsets>` for details.
See :ref:`model-formsets` for example usage. See :ref:`model-formsets` for example usage.