- feed_url = mark_safe(escape(request.path + "?type=rss" + req_params))
-
- return pagination.paginated(request, ('questions', paginator_context or QuestionListPaginatorContext()), {
- "questions" : questions.distinct(),
- "questions_count" : questions.count(),
- "keywords" : keywords,
- "list_description": list_description,
- "base_path" : base_path,
- "page_title" : page_title,
- "tab" : "questions",
- 'feed_url': feed_url,
- })
+ feed_url = request.path + "?type=rss" + req_params
+
+ context = {
+ 'questions' : questions.distinct(),
+ 'questions_count' : questions.count(),
+ 'keywords' : keywords,
+ 'list_description': list_description,
+ 'base_path' : base_path,
+ 'page_title' : page_title,
+ 'tab' : 'questions',
+ 'feed_url': feed_url,
+ 'show_summary' : show_summary,
+ }
+ context.update(extra_context)
+
+ return pagination.paginated(request,
+ ('questions', paginator_context or QuestionListPaginatorContext()), context)