use QuerySet in all managers

This commit is contained in:
j 2014-01-07 11:05:42 +00:00
commit 5b72a33a95
7 changed files with 10 additions and 7 deletions

View file

@ -2,6 +2,8 @@
# vi:si:et:sw=4:sts=4:ts=4
from django.db.models import Q, Manager
from ox.django.query import QuerySet
def parseCondition(condition, user):
'''
@ -92,7 +94,7 @@ def parseConditions(conditions, operator, user):
class EditManager(Manager):
def get_query_set(self):
return super(EditManager, self).get_query_set()
return QuerySet(self.model)
def find(self, data, user):
'''