'ZoneInvitation\'s UUID is dependent only on its public key.'

def get_uuid(self):

    assert (self.public_key is not None), 'public_key    required    for    get_uuid'
    return uuid.uuid5(settings.ROOT_UUID_NAMESPACE, str(self.public_key)).hex
