diff --git a/docs/topics/db/managers.txt b/docs/topics/db/managers.txt index c97149cfd15..3377bccab65 100644 --- a/docs/topics/db/managers.txt +++ b/docs/topics/db/managers.txt @@ -219,7 +219,7 @@ custom ``QuerySet`` if you also implement them on the ``Manager``:: class PersonManager(models.Manager): def get_queryset(self): - return PersonQuerySet() + return PersonQuerySet(self.model, using=self._db) def male(self): return self.get_queryset().male()