X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/410bfa05ee36ed1d99356c443a5f3f6aa3ee9578..49d0961a6f7f585f707cd08817f3e0a9f1a19212:/forum/models/answer.py diff --git a/forum/models/answer.py b/forum/models/answer.py index 090e19d..04735a4 100644 --- a/forum/models/answer.py +++ b/forum/models/answer.py @@ -7,16 +7,16 @@ class Answer(Node): class Meta(Node.Meta): proxy = True - @property + @property def accepted(self): - return self.extra_action + return self.nis.accepted @property def headline(self): return self.question.headline def get_absolute_url(self): - return '%s#%s' % (self.question.get_absolute_url(), self.id) + return '%s/%s' % (self.question.get_absolute_url(), self.id) class AnswerRevision(NodeRevision):