-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我仿写了一个基础的系统,但是在登陆的时候出现这样的异常 #3
Comments
在model.py里加了 |
你好,我也在学习这个小项目,可不可以一起交流一下 =。= |
二位好,我最近比较忙(是真忙),你们可以研究一下。我最晚会在4月底之前更新一下如何获取用户id这个问题。 |
哈哈 我已经弄好获取当前用户id了
现在我想加一个注册的功能 又不知道该怎么弄了
发自网易邮箱大师
在2017年03月15日 13:05,lalor 写道:
二位好,我最近比较忙(是真忙),你们可以研究一下。我最晚会在4月底之前更新一下如何获取用户id这个问题。
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
我也在写注册,不过我的数据库出了些问题。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
点击了登陆过后报
Exception
Exception: No user_loader has been installed for this LoginManager. Add one with the 'LoginManager.user_loader' decorator.
查阅了flask的文档关于user_loader的部分
if self.user_callback is None:
raise Exception(
"No user_loader has been installed for this "
"LoginManager. Add one with the "
"'LoginManager.user_loader' decorator.")
不知道为什么会是None,与数据库有关系吗。不知道为什么出现这样的情况。望赐教
The text was updated successfully, but these errors were encountered: