#34349: Formsets' add_fields() method fails in some circumstances if the
argument
index is None.
-------------------------------------+-------------------------------------
Reporter: Laurens Verhoeven | Owner: Laurens
| Verhoeven
Type: Bug | Status: closed
Component: Forms | Version: dev
Severity: Normal | Resolution: fixed
Keywords: formset | Triage Stage: Ready for
can_delete_extra empty_form | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"bb94e1b7dbd42af51d805efafe52b22eb86d5ebe" bb94e1b7]:
{{{
#!CommitTicketReference repository=""
revision="bb94e1b7dbd42af51d805efafe52b22eb86d5ebe"
[4.2.x] Fixed #34349 -- Fixed FormSet.empty_form crash when deleting extra
forms is disabled.
Backport of 6cbc403b8ee7014bd6dae4892d404eedb1d4a50d from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/34349#comment:7>
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/010701866df51076-8231a44f-8a6e-4402-9cfb-f74c8f61d65f-000000%40eu-central-1.amazonses.com.