Correct variables for setting.
This commit is contained in:
parent
962c180f12
commit
103ffefc87
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue