__init__.py 文件源码

python
阅读 37 收藏 0 点赞 0 评论 0

项目:Java-Grader 作者: acronymcreations 项目源码 文件源码
def postFeedback(user, post_id):
    post = session.query(Post).filter(Post.id == post_id).first()
    # form_id = 'feedback_box_%s' % post_id
    notes = request.form['data']
    print('notes', notes)
    if post:
        post.notes = notes
        session.commit()
        return notes
    else:
        print('no post')
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号