From 8f1c7435ec3012f063870d4e2914f395e923b41c Mon Sep 17 00:00:00 2001 From: j Date: Sat, 9 Dec 2017 12:53:44 +0100 Subject: [PATCH] typo --- content/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/views.py b/content/views.py index fe71f7d..dfaa3c9 100644 --- a/content/views.py +++ b/content/views.py @@ -10,7 +10,7 @@ from .models import Content def index(request): content = Content.objects.all() content = content.filter(published=True) - latest_content_list = ocntent.order_by('-datestart')[:5] + latest_content_list = content.order_by('-datestart')[:5] context = {'latest_content_list': latest_content_list} return render(request, 'index.html', context)