def delete_model(self, request, obj):
        if 'hard_delete' in dir(obj):
            obj.hard_delete()
        else:
            super(LiveModelAdmin, self).delete_model(request, obj)
dataset/ETHPy150Open PressLabs/silver/silver/admin.py/LiveModelAdmin.delete_model/original