#30382: force_insert flag is not passed when saving parents on inherited models.
-------------------------------------+-------------------------------------
     Reporter:  Phill Tornroth       |                    Owner:  Akash
                                     |  Kumar Sen
         Type:  Bug                  |                   Status:  assigned
    Component:  Database layer       |                  Version:  dev
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:                       |             Triage Stage:  Accepted
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by Akash Kumar Sen):

 * needs_better_patch:  1 => 0


Comment:

 - Removed support for single {{{force_insert=Modelbase}}} user have to
 wrap it into a tuple. Like {{{force_insert=(Modelbase,)}}}
 - Optimize the code by calling validation only if the class have parents
 to be inserted.
 - Reduce the number of models in tests.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30382#comment:20>
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/01070188e346c774-d8d519f8-462c-4075-8959-f5de15727b9e-000000%40eu-central-1.amazonses.com.

Reply via email to