Dan Silvers

Results 3 comments of Dan Silvers

Seeing this same bug on a very similar model setup (multiple levels of inheritance with django-polymorphic models, various ForeignKey fields). Django==1.8.7 django-polymorphic==0.8.1 Our workaround is to handle cascading deletes by...

@bonniejools No idea on performance. We have a total of zero users currently.

Workaround looks something like this, based on @martinmaillard's example at top: ``` class A(models.Model): def delete(self): B.objects.non_polymorphic().filter(a=self).all().delete() super(A, self).delete() ```