質問編集履歴
1
誤字
test
CHANGED
File without changes
|
test
CHANGED
@@ -18,7 +18,7 @@
|
|
18
18
|
|
19
19
|
class ListView2(ListView):
|
20
20
|
|
21
|
-
def query(self):
|
21
|
+
def get_queryset(self):
|
22
22
|
|
23
23
|
return Post.objects.filter().order_by('-published')
|
24
24
|
|