summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTimo Graham <timograham@gmail.com>2011-06-04 14:39:16 +0000
committerTimo Graham <timograham@gmail.com>2011-06-04 14:39:16 +0000
commitf578563291ba2f2112d99d138e1ca8cbdeec4eea (patch)
treeea58542db391405c7a25edd4d7c4251f74662386 /docs
parent0e90de0a15de6308da07877bc482c07feb866442 (diff)
[1.3.X] Fixed #16145 - typo in manager docs; thanks leereilly.
Backport of r16324 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/db/managers.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/topics/db/managers.txt b/docs/topics/db/managers.txt
index d9a144bd62..cbe381d46e 100644
--- a/docs/topics/db/managers.txt
+++ b/docs/topics/db/managers.txt
@@ -371,9 +371,9 @@ in ``get_query_set()`` is not appropriate for use as an automatic manager.
Set ``use_for_related_fields`` when you define the class
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-The ``use_for_related_fields`` attribute must be set on the manager *class*,
-object not on an *instance* of the class. The earlier example shows the
-correct way to set it, whereas the following will not work::
+The ``use_for_related_fields`` attribute must be set on the manager *class*, not
+on an *instance* of the class. The earlier example shows the correct way to set
+it, whereas the following will not work::
# BAD: Incorrect code
class MyManager(models.Manager):