From 6eb0f4f70d0c785874a616e871dfc9d56a306728 Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Tue, 18 Aug 2020 09:30:31 +0200 Subject: [PATCH] [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 13704b057d3c77d9442a150f79d8fad34bcdb995 from master. --- docs/ref/forms/models.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ref/forms/models.txt b/docs/ref/forms/models.txt index c5ddf990112..175f42f89f3 100644 --- a/docs/ref/forms/models.txt +++ b/docs/ref/forms/models.txt @@ -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 - ` 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 ` for details. See :ref:`model-formsets` for example usage.