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) |         blog_entires = paginator.page(paginator.num_pages) | ||||||
| 
 | 
 | ||||||
|     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" : extra_context['date_list'], | ||||||
|                                "authors" : extra_context['authors'], "tags" : extra_context['tags'] }) |                                "authors" : extra_context['authors'], "tags" : extra_context['tags'] }) | ||||||
| 
 | 
 | ||||||
|     callable = BlogListView.as_view(**kwargs) |     callable = BlogListView.as_view(**kwargs) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Bradley M. Kuhn
						Bradley M. Kuhn