Fixed "(page of)" thing at the top of news
This commit is contained in:
		
							parent
							
								
									2bf594b86c
								
							
						
					
					
						commit
						86e1646f8f
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -44,7 +44,8 @@ def custom_index(request, queryset, *args, **kwargs): | |||
|     kwargs = dict(kwargs, extra_context={'articles': articles, | ||||
|                                          'date_list': date_list, | ||||
|                                          'future_events': future_events, | ||||
|                                          'past_events': past_events}) | ||||
|                                          'past_events': past_events, | ||||
|                                          'page': 1}) | ||||
|     del kwargs['date_field'] | ||||
| 
 | ||||
|     # return object_list(request, queryset, *args, **kwargs) | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Tom Marble
						Tom Marble