'Create a hash automatically'

def __init__(self, *args, **kwargs):

    super(Invitation, self).__init__(*args, **kwargs)
    if (self.email and (not self.key)):
        hasher = hashlib.sha256()
        hasher.update((str(random.random()) + str(self.email)))
        self.key = hasher.hexdigest()
