def response_add(self, request, obj, *args, **kwargs): response = super(GameAdmin, self).response_add(request, obj, *args, **kwargs) Game.delete_non_related_images() return response
def response_change(self, request, obj): response = super(GameAdmin, self).response_change(request, obj) Game.delete_non_related_images() return response