From 6cba2f11be4c464583e2e303d33a013918358e5a Mon Sep 17 00:00:00 2001 From: jlaine Date: Mon, 31 May 2010 18:45:48 +0000 Subject: [PATCH] accept "using" keyword for get_count git-svn-id: https://svn.bolloretelecom.eu/opensource/django-ldapdb/trunk@905 e071eeec-0327-468d-9b6a-08194a12b294 --- ldapdb/models/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldapdb/models/query.py b/ldapdb/models/query.py index bbb46e2..f433956 100644 --- a/ldapdb/models/query.py +++ b/ldapdb/models/query.py @@ -187,7 +187,7 @@ class Query(BaseQuery): super(Query, self).__init__(*args, **kwargs) self.connection = ldapdb.connection - def get_count(self): + def get_count(self, using=None): filterstr = ''.join(['(objectClass=%s)' % cls for cls in self.model.object_classes]) sql, params = self.where.as_sql() filterstr += sql -- 2.30.2