delete by ip and object id

def delete_where_unique(cls, ip, object_id, location):
        """ delete by ip and object id """
        result = cls.where_unique(ip, object_id, location)
        if result is None:
            return None
        result.delete()
        return True