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:54:59 -0400 |
| commit | 6de3a1e2c34ae5bfcdec3ebbf3d682aa578ecae0 (patch) | |
| tree | a1d47f1302e4134fa38c054cdecdec54c52c567d /docs/topics | |
| parent | 3e132406e3a95b3fe54e75129013e10bf3e9e86a (diff) | |
Fixed #24541 -- Clarified ModelFormSet's handling of initial data.
Diffstat (limited to 'docs/topics')
| -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 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: |
