--
Ticket URL: <https://code.djangoproject.com/ticket/33822>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* cc: Vlad (added)
* easy: 0 => 1
* stage: Unreviewed => Accepted
Comment:
Agreed, we should set:
{{{#!python
class BaseModelFormSet(BaseFormSet):
model = None
edit_only = False
...
}}}
Thanks for the report!
--
Ticket URL: <https://code.djangoproject.com/ticket/33822#comment:1>
* owner: nobody => shawnxd
* status: new => assigned
--
Ticket URL: <https://code.djangoproject.com/ticket/33822#comment:2>
* cc: Shawn (added)
* stage: Accepted => Ready for checkin
Comment:
PR: https://github.com/django/django/pull/15818
--
Ticket URL: <https://code.djangoproject.com/ticket/33822#comment:3>
* has_patch: 0 => 1
* needs_tests: 0 => 1
* stage: Ready for checkin => Accepted
Comment:
"Ready for checkin" is set by a patch reviewer, not the patch author (see
[https://docs.djangoproject.com/en/dev/internals/contributing/triaging-
tickets/ Triaging tickets]). Also, a regression test is required.
--
Ticket URL: <https://code.djangoproject.com/ticket/33822#comment:4>
Comment (by Shawn):
got it. thanks for the reference doc. updated the pr:
https://github.com/django/django/pull/15818
--
Ticket URL: <https://code.djangoproject.com/ticket/33822#comment:5>
* needs_tests: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/33822#comment:6>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"18c5ba07cc81be993941ecc2ecc17923b401b66f" 18c5ba0]:
{{{
#!CommitTicketReference repository=""
revision="18c5ba07cc81be993941ecc2ecc17923b401b66f"
Fixed #33822 -- Fixed save() crash on model formsets when not created by
modelformset_factory().
Thanks Claude Paroz for the report.
Regression in e87f57fdb8dcdabc452bd15abd015bf6c9b1f7a8.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33822#comment:7>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"675d2239cecf5da0da27b2176e03a262b6a9ebda" 675d2239]:
{{{
#!CommitTicketReference repository=""
revision="675d2239cecf5da0da27b2176e03a262b6a9ebda"
[4.1.x] Fixed #33822 -- Fixed save() crash on model formsets when not
created by modelformset_factory().
Thanks Claude Paroz for the report.
Regression in e87f57fdb8dcdabc452bd15abd015bf6c9b1f7a8.
Backport of 18c5ba07cc81be993941ecc2ecc17923b401b66f from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33822#comment:8>