]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/models/question.py
Removes the necessity of the "decoratable" decorator in modules and makes the api...
[osqa.git] / forum / models / question.py
index 1cc0884fcd79b615c00781f5a2afa5eb5247d0b1..7902a503646f92cb44910128ddc064ac219e1869 100644 (file)
@@ -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))