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)
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)
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
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
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)