blog: Fix variable name typo in views code.

This commit is contained in:
Brett Smith 2017-02-03 10:31:51 -05:00
parent 0ef963a5bd
commit 8115cb27e2

View file

@ -70,7 +70,7 @@ def custom_index(request, queryset, *args, **kwargs):
blog_entries = paginator.page(1)
except EmptyPage:
# If page is out of range (e.g. 9999), deliver last page of results.
blog_entires = paginator.page(paginator.num_pages)
blog_entries = paginator.page(paginator.num_pages)
extra_context['blog_entries'] = blog_entries