回答編集履歴

1

追記

2020/08/09 08:05

投稿

ForestSeo
ForestSeo

スコア2722

test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- lst = [p.get_category_display for p in Post.order_by('-category')]
9
+ lst = [p.get_category_display() for p in Post.order_by('-category')]
10
10
 
11
11
  context['all_post_category_list'] = Counter(lst)
12
12