summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/managers.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/db/managers.txt b/docs/topics/db/managers.txt
index 3c0c3f3fb8..30f7929d66 100644
--- a/docs/topics/db/managers.txt
+++ b/docs/topics/db/managers.txt
@@ -309,11 +309,11 @@ returns a *subclass* of your base ``Manager`` with a copy of the custom
return
class MyModel(models.Model):
- objects = BaseManager.from_queryset(CustomQueryset)()
+ objects = BaseManager.from_queryset(CustomQuerySet)()
You may also store the generated class into a variable::
- CustomManager = BaseManager.from_queryset(CustomQueryset)
+ CustomManager = BaseManager.from_queryset(CustomQuerySet)
class MyModel(models.Model):
objects = CustomManager()