From 8e6c2e54acab968f690cc680fbbc61aa0f4cb6ca Mon Sep 17 00:00:00 2001 From: "Bradley M. Kuhn" Date: Wed, 4 Mar 2015 15:18:18 -0800 Subject: [PATCH] date_list should come from the extra_context too. --- 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 aecc4a3b..2205e8fb 100644 --- a/www/conservancy/apps/blog/views.py +++ b/www/conservancy/apps/blog/views.py @@ -81,7 +81,7 @@ def custom_index(request, queryset, *args, **kwargs): blog_entires = paginator.page(paginator.num_pages) return render_to_response('blog/entry_list.html', - {"blog_entries": blog_entries, "date_list" : date_list, + {"blog_entries": blog_entries, "date_list" : extra_context['date_list'], "authors" : extra_context['authors'], "tags" : extra_context['tags'] }) callable = BlogListView.as_view(**kwargs)