]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/question.py
making the question headline decoratable
[osqa.git] / forum / models / question.py
index 136d3de78590cc3d2fbba2604ef09e412489b63b..6fae319e79088aeef1e9ccb5b625d11be12369c9 100644 (file)
@@ -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