Ejemplo n.º 1
0
def get_account_id_by_email(email):
    account = AccountPrototype.get_by_email(normalize_email(email))
    return account.id if account else None
Ejemplo n.º 2
0
def get_account_id_by_email(email):
    account = AccountPrototype.get_by_email(normalize_email(email))
    return account.id if account else None
Ejemplo n.º 3
0
 def clean(self, value):
     email = super(EmailField, self).clean(value)
     return logic.normalize_email(email)