From c5d90a38dbdce2358bee6ba244a7cdedab5a249e Mon Sep 17 00:00:00 2001 From: jordan Date: Mon, 31 Oct 2011 12:39:10 +0000 Subject: [PATCH] making the question headline decoratable git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1198 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- forum/models/question.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/forum/models/question.py b/forum/models/question.py index 136d3de..6fae319 100644 --- a/forum/models/question.py +++ b/forum/models/question.py @@ -27,6 +27,9 @@ class Question(Node): @property def headline(self): + return self._headline() + + def _headline(self): if self.nis.deleted: return _('[deleted] ') + self.title -- 2.39.5