Пример #1
0
 def get_auth_token(self):
     return LoginManager.make_secure_token(self.username, key='secret_key')