def paginated_news_index(request, posts): """ Wraps the generic dnollkse.views.paginated_index to a news-specific function. """ return paginated_index(request, posts, 'news/index.dtl', 'items')
def paginated_events_index(request, events): """ Wraps the generic dnollkse.views.paginated_index to a events-specific function. """ return paginated_index(request, events, 'events/index.dtl', 'items')