We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7a447df commit 95577d4Copy full SHA for 95577d4
app/article/views.py
@@ -7,7 +7,7 @@
7
8
@article.route('/')
9
def index():
10
- list =Article.query.all()
+ list =Article.query.join(ArticleType).all()
11
return render_template('article_list.html',list = list)
12
@article.route('/create',methods=['GET','POST'])
13
def create():
0 commit comments