typo
This commit is contained in:
parent
9077723b1a
commit
8f1c7435ec
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user