예제 #1
0
파일: logic.py 프로젝트: Jazzis18/the-tale
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)