Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed #16145 - typo in manager docs; thanks leereilly.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16324 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 773e1717c0fbad45b3baab6a3026670e322301ad 1 parent d41a25e
@timgraham timgraham authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 docs/topics/db/managers.txt
View
6 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):
Please sign in to comment.
Something went wrong with that request. Please try again.