摘要: @app.route('/') def index(): context={ 'questions': Question.query.order_by('-creat_time').all() } return render_template('base.html',**context) {% block main %} {{user}... 阅读全文
posted @ 2017-12-02 18:22 002邓诺斯 阅读(142) 评论(0) 推荐(0) 编辑