diff options
| author | Tim Graham <timograham@gmail.com> | 2015-03-28 08:54:59 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-03-28 08:59:50 -0400 |
| commit | a70dea2c06cf834e24c4b63237af669c143a8e03 (patch) | |
| tree | 251aeb9bc7d6d551e82a4d27320481b516792224 | |
| parent | b0846a040ed292688b6e473768da7710abad53f6 (diff) | |
[1.8.x] Fixed #24541 -- Clarified ModelFormSet's handling of initial data.
Backport of 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 from master
| -rw-r--r-- | docs/topics/forms/modelforms.txt | 3 |
1 files changed, 2 insertions, 1 deletions
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: |
