answer_count = Answer.objects.filter(deleted=None, parent__in=questions).count()
answer_description = _("answers")
answer_count = Answer.objects.filter(deleted=None, parent__in=questions).count()
answer_description = _("answers")
"answer_description": answer_description,
"base_path" : base_path,
"page_title" : page_title,
"answer_description": answer_description,
"base_path" : base_path,
"page_title" : page_title,
@decorators.render('questions.html')
def question_search(request, keywords):
@decorators.render('questions.html')
def question_search(request, keywords):
return question_list(request, initial, _("questions matching '%(keywords)s'") % {'keywords': keywords},
base_path="%s?t=question&q=%s" % (reverse('search'), django_urlquote(keywords)), sort=False)
return question_list(request, initial, _("questions matching '%(keywords)s'") % {'keywords': keywords},
base_path="%s?t=question&q=%s" % (reverse('search'), django_urlquote(keywords)), sort=False)