X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/410bfa05ee36ed1d99356c443a5f3f6aa3ee9578..9f1d9b668a5de15e370dc0cd85997f458bbb2c98:/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):