示例#1
0
def get_account_id_by_email(email):
    account = AccountPrototype.get_by_email(normalize_email(email))
    return account.id if account else None
示例#2
0
def get_account_id_by_email(email):
    account = AccountPrototype.get_by_email(normalize_email(email))
    return account.id if account else None
示例#3
0
文件: fields.py 项目: Tiendil/dext
 def clean(self, value):
     email = super(EmailField, self).clean(value)
     return logic.normalize_email(email)