Changes between Initial Version and Version 1 of Ticket #31600
- Timestamp:
- May 17, 2020, 10:22:15 AM (5 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31600 – Description
initial v1 3 3 `User.objects.all().exclude(pk=self.user_1.pk).delete()` 4 4 5 The Usermodel has related models with `on_delete=models.CASCADE` which should be deleted as well.5 The `User` model has related models with `on_delete=models.CASCADE` which should be deleted as well. 6 6 7 7 But in my test, I got this exception: