From a70dea2c06cf834e24c4b63237af669c143a8e03 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Sat, 28 Mar 2015 08:54:59 -0400 Subject: [PATCH] [1.8.x] Fixed #24541 -- Clarified ModelFormSet's handling of initial data. Backport of 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 from master --- 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 8d5545d20c..52ea0c512a 100644 --- a/docs/topics/forms/modelforms.txt +++ b/docs/topics/forms/modelforms.txt @@ -860,7 +860,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: