We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86e4d5b commit e953fb5Copy full SHA for e953fb5
README.md
@@ -133,9 +133,9 @@ demo 分支是演示项目的分支代码。
133
134
- [20 - Django Pagination 完善分页](http://zmrenwu.com/post/37/)
135
136
-- 21 - 统计各个分类下的文章数(撰写中)
+- [21 - 统计各个分类下的文章数](http://zmrenwu.com/post/38/)
137
138
-- 22 - 标签云(撰写中)
+- [22 - 标签云](http://zmrenwu.com/post/39/)
139
140
- 23 - RSS 订阅(撰写中)
141
blog/views.py
@@ -42,7 +42,7 @@ def get_context_data(self, **kwargs):
42
"""
43
44
# 首先获得父类生成的传递给模板的字典。
45
- context = super().get_context_data(**kwargs)
+ context = super(IndexView, self).get_context_data(**kwargs)
46
47
# 父类生成的字典中已有 paginator、page_obj、is_paginated 这三个模板变量,
48
# paginator 是 Paginator 的一个实例,
0 commit comments