![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
flask报错
我德发克?
这个作者很懒,什么都没留下…
展开
-
TypeError: ‘Pagination‘ object is not iterable
分页插件报错,TypeError: 'Pagination' object is not iterable解决方法:在paginate(page,per_page=10)后加上.items原创 2021-01-21 11:24:23 · 1629 阅读 · 2 评论 -
TypeError: The view function did not return a valid response. The function either returned None or e
网上查了很多资料,都没解决这个问题,方法已经有return了,但是还是报错TypeError: The view function did not return a valid response. The function either returned None or ended without a return statement.后来才发现,我另外一个蓝图里面有个同名的路径,该同名路径无返回值。所以,在出现这种情况下,也要检查一下是否其他蓝图里有同名的路径...原创 2021-01-21 09:59:08 · 5155 阅读 · 0 评论