From 8115cb27e2a255d0242f7f62c7400828b36401a0 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Fri, 3 Feb 2017 10:31:51 -0500 Subject: [PATCH] blog: Fix variable name typo in views code. --- www/conservancy/apps/blog/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/conservancy/apps/blog/views.py b/www/conservancy/apps/blog/views.py index 655c9638..f472dc06 100644 --- a/www/conservancy/apps/blog/views.py +++ b/www/conservancy/apps/blog/views.py @@ -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