回答編集履歴
1
回答の間違いを修正
test
CHANGED
@@ -16,7 +16,7 @@
|
|
16
16
|
|
17
17
|
ctx = super().get_context_data(**kwargs)
|
18
18
|
|
19
|
-
ctx['first_article' = Article.objects.all().order_by('-created_at')[0]
|
19
|
+
ctx['first_article'] = Article.objects.all().order_by('-created_at')[0]
|
20
20
|
|
21
21
|
return ctx
|
22
22
|
|