Opened 6 years ago
Closed 6 years ago
#30339 closed Bug (fixed)
Model.delete(keep_parents=True) does not preserve all parent reverse relationships
Reported by: | Stephen Brown | Owned by: | Stephen Brown |
---|---|---|---|
Component: | Database layer (models, ORM) | Version: | dev |
Severity: | Normal | Keywords: | models deletion |
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description (last modified by )
There was a partial fix for this in #27407, but it doesn't cater for relationships toward parents of parents, and so on.
Change History (7)
comment:1 by , 6 years ago
Type: | Uncategorized → Bug |
---|
comment:3 by , 6 years ago
Description: | modified (diff) |
---|
comment:4 by , 6 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:6 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
Pull request
https://github.com/django/django/pull/11185