#32724: Deleting a MTI Child model will leave associated rows in the parent 
table.
----------------------------------+--------------------------------------
     Reporter:  Matthias Dellweg  |                    Owner:  nobody
         Type:  Bug               |                   Status:  closed
    Component:  Migrations        |                  Version:  3.2
     Severity:  Normal            |               Resolution:  wontfix
     Keywords:                    |             Triage Stage:  Unreviewed
    Has patch:  0                 |      Needs documentation:  0
  Needs tests:  0                 |  Patch needs improvement:  0
Easy pickings:  0                 |                    UI/UX:  0
----------------------------------+--------------------------------------
Changes (by Simon Charette):

 * status:  new => closed
 * resolution:   => wontfix


Comment:

 This is expected, if you want to get rid of parent rows you should run a
 data migration to remove them prior to deleting your child rows. Parent
 rows are not different from any model rows as they are usable in isolation
 and the fact you don't use them this way is specific to your application.

 In all cases changing this behaviour now would also break backward
 compatibility.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32724#comment:1>
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/066.81bf95f04727e048b61e5b30fb4c2fc8%40djangoproject.com.

Reply via email to