会员
周边
众包
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
103许雅婷
博客园
首页
新随笔
联系
管理
订阅
2017年12月8日
完成评论功能
摘要: 定义评论的视图函数@app.route('/comment/',methods=['POST'])def comment():读取前端页面数据,保存到数据库中 @app.route('/comment/', methods=['POST']) @loginFirst def comment(): comment = request.form.get('new_comment') ...
阅读全文
posted @ 2017-12-08 19:19 103许雅婷
阅读(196)
评论(0)
推荐(0)
编辑
公告