From 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 28 Mar 2015 08:54:59 -0400 Subject: [PATCH] Fixed #24541 -- Clarified ModelFormSet's handling of initial data. --- docs/topics/forms/modelforms.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/topics/forms/modelforms.txt b/docs/topics/forms/modelforms.txt index b660308891..4a44de2d2a 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -861,7 +861,8 @@ As with regular formsets, it's possible to :ref:`specify initial data parameter when instantiating the model formset class returned by :func:`~django.forms.models.modelformset_factory`. However, with model formsets, the initial values only apply to extra forms, those that aren't -attached to an existing model instance. +attached to an existing model instance. If the extra forms with initial data +aren't changed by the user, they won't be validated or saved. .. _saving-objects-in-the-formset: