X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/293ecbd0f64bcdf5e89ab05c7000a8cea772e1f6..720f7b0224eebb2c6ab92c5bf83fbddbf82720b3:/forum/models/question.py diff --git a/forum/models/question.py b/forum/models/question.py index 1cc0884..7902a50 100644 --- a/forum/models/question.py +++ b/forum/models/question.py @@ -1,12 +1,10 @@ from base import * from tag import Tag from django.utils.translation import ugettext as _ -from forum.modules.decorators import decoratable question_view = django.dispatch.Signal(providing_args=['instance', 'user']) class QuestionManager(NodeManager): - @decoratable.method def search(self, keywords): return self.filter(models.Q(title__icontains=keywords) | models.Q(body__icontains=keywords))