Merge pull request #2030 from frankwiles/master

Fixed manager documentation inaccuracy
This commit is contained in:
Tim Graham 2013-12-05 04:17:11 -08:00
commit 8209906a0e
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ custom ``QuerySet`` if you also implement them on the ``Manager``::
class PersonManager(models.Manager): class PersonManager(models.Manager):
def get_queryset(self): def get_queryset(self):
return PersonQuerySet() return PersonQuerySet(self.model, using=self._db)
def male(self): def male(self):
return self.get_queryset().male() return self.get_queryset().male()