#34796: Deleting child table does not delete rows in parent table when using
multi-
table inheritance
-------------------------------------+-------------------------------------
Reporter: Stephen Finucane | Owner: nobody
Type: Bug | Status: closed
Component: Database layer | Version: 4.2
(models, ORM) |
Severity: Normal | Resolution: duplicate
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Stephen Finucane):
Thanks, Mariusz. However, there is no reference to this anywhere in the
documentation, so at a minimum it is very surprising behaviour that is
likely to catch users out. Until we fix this in a backwards-incompatible
manner, would you be open to a documentation patch that calls this out?
Alternatively (better), could we log a warning when auto-generating
migrations that remove child tables in a multi-table relationship to
indicate this potential issue and suggest users clean it up accordingly?
--
Ticket URL: <https://code.djangoproject.com/ticket/34796#comment:5>
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/0107018a2c7dcd6b-9f8ad9c5-793c-4ad4-82d4-7e8f8e8f135f-000000%40eu-central-1.amazonses.com.