diff options
| author | Tim Graham <timograham@gmail.com> | 2013-12-05 04:17:11 -0800 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-12-05 04:17:11 -0800 |
| commit | 8209906a0e71bba5c31cdf9bfa7f5bfbfd4dc7ec (patch) | |
| tree | 23416f294176b09409dc19b032ddc16cf902b9b7 | |
| parent | ae734b75c1fc365be9c2e2a08c8c569166233149 (diff) | |
| parent | 164df40501d91ae8dd250700df15302c64001a69 (diff) | |
Merge pull request #2030 from frankwiles/master
Fixed manager documentation inaccuracy
| -rw-r--r-- | docs/topics/db/managers.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/topics/db/managers.txt b/docs/topics/db/managers.txt index c97149cfd1..3377bccab6 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() |
