def delete(self):
    files = WidgetFile.objects.filter(widget=self)
if files:
    for file in files:
        file.delete()
How do I override delete() on a model and have it still work with related deletes