Correct variables for setting.

This commit is contained in:
Bradley M. Kuhn 2015-03-04 15:17:31 -08:00
parent 962c180f12
commit 103ffefc87

View file

@ -82,7 +82,7 @@ def custom_index(request, queryset, *args, **kwargs):
return render_to_response('blog/entry_list.html', return render_to_response('blog/entry_list.html',
{"blog_entries": blog_entries, "date_list" : date_list, {"blog_entries": blog_entries, "date_list" : date_list,
"authors" : authors, "tags" : tags }) "authors" : extra_context['authors'], "tags" : extra_context['tags'] })
callable = BlogListView.as_view(**kwargs) callable = BlogListView.as_view(**kwargs)
return callable(request) return callable(request)