#33822: New FormSet.edit_only only set when formset created by 
modelformset_factory
-------------------------------------------+------------------------
               Reporter:  Claude Paroz     |          Owner:  nobody
                   Type:  Bug              |         Status:  new
              Component:  Forms            |        Version:  4.1
               Severity:  Release blocker  |       Keywords:
           Triage Stage:  Unreviewed       |      Has patch:  0
    Needs documentation:  0                |    Needs tests:  0
Patch needs improvement:  0                |  Easy pickings:  0
                  UI/UX:  0                |
-------------------------------------------+------------------------
 The new `FormSet.edit_only` attribute (#26142) is only set from
 `modelformset_factory`. So if you create a formset class in a different
 way, the `edit_only` attribute is not set and a crash happens in the
 `save()` method when referring to `if self.edit_only:`.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33822>
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/01070181c9563c2a-f8216103-2d3b-4b6c-bc7c-e0741dccb0f3-000000%40eu-central-1.amazonses.com.

Reply via email to