summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorJonas Degrave <erstaateenknolraapinmijntuin@gmail.com>2015-06-04 01:13:39 +0200
committerTim Graham <timograham@gmail.com>2015-06-30 13:48:30 -0400
commit4352e865a75923a0e5036b4e9ba2a8f0bfae3d63 (patch)
treed7ad32080093ed7169a6c39ab7af97a04d2cea1e /django
parent3b81dbe844b750c05bda6ae1ad15c889d1dc39e5 (diff)
Fixed #24911 -- Made BaseManager.get_queryset() allow custom queryset args.
Diffstat (limited to 'django')
-rw-r--r--django/db/models/manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/db/models/manager.py b/django/db/models/manager.py
index bedf93a643..a8fd624b35 100644
--- a/django/db/models/manager.py
+++ b/django/db/models/manager.py
@@ -211,7 +211,7 @@ class BaseManager(object):
Returns a new QuerySet object. Subclasses can override this method to
easily customize the behavior of the Manager.
"""
- return self._queryset_class(self.model, using=self._db, hints=self._hints)
+ return self._queryset_class(model=self.model, using=self._db, hints=self._hints)
def all(self):
# We can't proxy this method through the `QuerySet` like we do for the