date_list should come from the extra_context too.
This commit is contained in:
parent
103ffefc87
commit
8e6c2e54ac
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue