#33534: Formset form with initial values doesnt save
-------------------------------------+-------------------------------------
Reporter: saschahofmann | Owner: nobody
Type: Bug | Status: closed
Component: Forms | Version: 4.0
Severity: Normal | Resolution: invalid
Keywords: formset initial | Triage Stage:
save | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by saschahofmann):
I guess that makes sense if an extra_form is invalid/not filled out but if
I submit a correctly filled out form I would expect it to be saved or not?
Maybe it'd be nice to be able to configure that behaviour? Right now, I am
going to overwrite the save_new_objects function and remove the line.
Replying to [comment:1 Tim Graham]:
> Formsets can have extra forms that may not be changed. In that case,
they shouldn't be treated as new data that the user submitted.
--
Ticket URL: <https://code.djangoproject.com/ticket/33534#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/071.a9386f5f3ca6453d93a46d5c581c5137%40djangoproject.com.