If you want those ActivityLog
instances to be deleted in a cascade, you can make that happen by defining a GenericRelation
on the objects pointed to. From the documentation:
Note also, that if you delete an object that has a GenericRelation, any objects which have a GenericForeignKey pointing at it will be deleted as well.