X-Git-Url: https://git.openstreetmap.org./osqa.git/blobdiff_plain/4f6bdf82bd020d966714f8aba451781072a13d47..9b6be99a1eed1adddfd062642f6ca23f79d14aea:/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))