Exemple #1
0
 def txn():
     code = gen_salt(20)
     language = i18n.get_locale()
     profile = Profile(user=user,
                       verification_code=code,
                       language=language)
     profile.put()
     return profile
Exemple #2
0
 def get_locale():
     return i18n.get_locale()
Exemple #3
0
 def get_locale():
     return i18n.get_locale()
Exemple #4
0
 def txn():
     code = gen_salt(20)
     language = i18n.get_locale()
     profile = Profile(user=user, verification_code=code, language=language)
     profile.put()
     return profile