#27560: Formset.save() crashes for model with foreign key to concrete base model
-------------------------------------+-------------------------------------
     Reporter:  Lorenzo Peña         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Forms                |                  Version:  1.9
     Severity:  Normal               |               Resolution:
     Keywords:  formset              |             Triage Stage:
  inline_formset                     |  Unreviewed
  inline_formsetfactory              |
    Has patch:  0                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by Tim Graham):

 This report is awfully complicated and without spending more than a few
 minutes investigating I can't say whether or not this is a bug in Django
 or in your code. One thing to try might be:
 `DetailModelFormset(self.request.POST, instance=master_instance)`.

 It seems like excluding `master` from `DetailModelForm` may also be
 related. (How can you have an inline formset without the field linking the
 subforms to the parent?)

 It would be nice if you do more to confirm that this is actually a bug,
 such as by [wiki:TicketClosingReasons/UseSupportChannels using our support
 channels]. Putting together a sample project with a test case that someone
 could download to quickly reproduce the issue would also help.

--
Ticket URL: <https://code.djangoproject.com/ticket/27560#comment:4>
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/066.2a891e2d1475a645e72bf4572904eb23%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to