1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #30339 -- Made Model.delete(keep_parents=True) preserves nested parent reverse relationships.

Thanks Simon Charette for the review.
This commit is contained in:
Stephen Brown
2019-04-06 21:23:52 +01:00
committed by Mariusz Felisiak
parent 29601bca9b
commit 86a3ad351e
3 changed files with 18 additions and 3 deletions

View File

@@ -28,6 +28,10 @@ class RChild(R):
pass
class RChildChild(RChild):
pass
class A(models.Model):
name = models.CharField(max_length=30)