From 9694fb0873b055992c5d2d00ff12f946b2f26c08 Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 1 Aug 2011 11:13:52 +0000 Subject: [PATCH] Resolves Jira-735, take another approach to merge the two dicts git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1146 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/views/readers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forum/views/readers.py b/forum/views/readers.py index a16712e..8dad780 100644 --- a/forum/views/readers.py +++ b/forum/views/readers.py @@ -119,15 +119,15 @@ def tag(request, tag): } # The context returned by the question_list function, contains info about the questions - question_context = question_list(request, + question_context = dict(question_list(request, questions, mark_safe(_(u'questions tagged %(tag)s') % {'tag': tag}), None, mark_safe(_(u'Questions Tagged With %(tag)s') % {'tag': tag}), - False) + False)) # Create the combined context - context = dict(question_context, **tag_context) + context = dict(question_context.items() + tag_context.items()) return context -- 2.45.1