使用Flask-Stormpath
进行基于令牌的身份验证
当我注册时:
http://localhost:5005/register
正在获取stormpath默认注册。
当我填写详细信息时,我得到了一个错误list index out of range
在pip内部调试时,我看到错误在flask_stormpath/models
行101中
current_app.stormpath_manager.application.accounts.create({
'email': email,
...
})
错误是,特别是:
current_app.stormpath_manager.application
这就是我发起风暴之路的方式:
from flask.ext.stormpath import StormpathManager
app = Flask(__name__)
StormpathManager(app = app)
我认为这与延迟加载应用程序有关。但是错误信息不是很有描述性。你知道吗
你知道怎么调试吗?你知道吗
目前没有回答
相关问题 更多 >
编程相关推荐