#11313: list_editable fields don't support 'save' in multiuser environment
--------------------------------+------------------------------------
Reporter: margieroginski | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.1-beta
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 1
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Comment (by patjlm):
Looking very quickly into the code, I think that this can be solved by
replacing the following in contrib/admin/options.py changelist_view
replace (line 1526 in 1.7 / line 1382 in 1.6.7)
formset = cl.formset = FormSet(request.POST, request.FILES,
queryset=cl.result_list)
by
formset = cl.formset = FormSet(request.POST, request.FILES)
in this test section:
# Handle POSTed bulk-edit data.
if (request.method == "POST" and cl.list_editable and '_save' in
request.POST and not action_failed):
I am not used to generate patches nor am I knowledgeable enough in Django
to assess if this change has a more global impact.
Could anyone have a look?
Thanks!
--
Ticket URL: <https://code.djangoproject.com/ticket/11313#comment:26>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.cfdaa87dc0e92d38716512fd15ca803d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.