回答編集履歴
1
追記
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
|
|