'Return the attribute value for the given user and name. If no such
value exists, returns None.'

@classmethod
def get_user_attribute(cls, user, name):

    try:
        return cls.objects.get(user=user, name=name).value
    except cls.DoesNotExist:
        return None
