]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/answer.py
show the recaptcha field to unauthenticated users without a metter what is the min...
[osqa.git] / forum / models / answer.py
index 564605e7d227d42a830ecdb376d2e760dd30f6c0..04735a4cc537c3bf81aacac7318749fb4d71e2c7 100644 (file)
@@ -7,16 +7,16 @@ class Answer(Node):
     class Meta(Node.Meta):
         proxy = True
 
-    #@property
-    #def accepted(self):
-    #    return self.nstate.accepted
+    @property
+    def accepted(self):
+        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):