Beispiel #1
0
def requested_alias_or_nick(person):
    signup = Signup.objects.filter(event__slug='tracon11', person=person).first()
    if signup:
        if signup.signup_extra.email_alias:
            return emailify(signup.signup_extra.email_alias.replace(u'@tracon.fi', u''))
    else:
        return nick(person)
Beispiel #2
0
def requested_alias_or_nick(person):
    signup = Signup.objects.filter(event__slug='tracon2017',
                                   person=person).first()
    if signup and signup.signup_extra.email_alias:
        return emailify(
            signup.signup_extra.email_alias.replace('@tracon.fi', ''))

    return nick(person)
Beispiel #3
0
def requested_alias(person):
    signup = Signup.objects.filter(event__slug='aicon2018',
                                   person=person).first()
    if signup and signup.signup_extra.email_alias:
        return emailify(
            signup.signup_extra.email_alias.replace('@aicon.fi', ''))

    return None
Beispiel #4
0
def requested_alias(person):
    signup = Signup.objects.filter(event__slug='aicon2016', person=person).first()
    if signup and signup.signup_extra.email_alias:
        return emailify(signup.signup_extra.email_alias.replace('@aicon.fi', ''))

    return None
Beispiel #5
0
def requested_alias_or_nick(person):
    signup = Signup.objects.filter(event__slug='tracon2017', person=person).first()
    if signup and signup.signup_extra.email_alias:
        return emailify(signup.signup_extra.email_alias.replace('@tracon.fi', ''))

    return nick(person)