Fixed "(page of)" thing at the top of news

This commit is contained in:
Tom Marble 2015-03-03 19:23:57 +00:00
parent 2bf594b86c
commit 86e1646f8f

View file

@ -44,7 +44,8 @@ def custom_index(request, queryset, *args, **kwargs):
kwargs = dict(kwargs, extra_context={'articles': articles, kwargs = dict(kwargs, extra_context={'articles': articles,
'date_list': date_list, 'date_list': date_list,
'future_events': future_events, 'future_events': future_events,
'past_events': past_events}) 'past_events': past_events,
'page': 1})
del kwargs['date_field'] del kwargs['date_field']
# return object_list(request, queryset, *args, **kwargs) # return object_list(request, queryset, *args, **kwargs)