From: jordan Date: Mon, 31 Oct 2011 12:39:10 +0000 (+0000) Subject: making the question headline decoratable X-Git-Tag: live~119 X-Git-Url: https://git.openstreetmap.org./osqa.git/commitdiff_plain/c5d90a38dbdce2358bee6ba244a7cdedab5a249e making the question headline decoratable git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1198 0cfe37f9-358a-4d5e-be75-b63607b5c754 --- 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