Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
confucianzuoyuan committed Nov 14, 2018
1 parent 475c004 commit 70ed06b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bookstore/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -824,7 +824,7 @@ def detail(request, books_id):
type_title = BOOKS_TYPE[books.type_id]

# 定义上下文
context = {'books': books, 'books_li': books_li'type_title':type_title}
context = {'books': books, 'books_li': books_li, 'type_title':type_title}

# 使用模板
return render(request, 'books/detail.html', context)
Expand Down

0 comments on commit 70ed06b

Please sign in to comment.