X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/700b6dec7e4d655fee91e26f9757442162047281..9679e5dae018bf9ea892fc17f2b92ff5400aef86:/forum/models/question.py?ds=sidebyside diff --git a/forum/models/question.py b/forum/models/question.py index 55f37c4..a185e02 100644 --- a/forum/models/question.py +++ b/forum/models/question.py @@ -44,6 +44,9 @@ class Question(Node): @models.permalink def get_absolute_url(self): return ('question', (), {'id': self.id, 'slug': django_urlquote(slugify(self.title))}) + + def meta_description(self): + return self.summary def get_revision_url(self): return reverse('question_revisions', args=[self.id])