Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed reST formatting from [8212].

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 9b4ff7c1ad924de6f633f7c4f4b091b0fad8e7da 1 parent 593810a
@jacobian jacobian authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 docs/model-api.txt
View
4 docs/model-api.txt
@@ -1511,7 +1511,9 @@ Using managers for related object access
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
By default, Django uses a "bare" (i.e. default) manager when accessing related
-objects (i.e. ``choice.poll``). If this default isn't appropriate for your default manager, you can force Django to use a custom manager for related object attributes by giving it a ``use_for_related_fields`` property::
+objects (i.e. ``choice.poll``). If this default isn't appropriate for your
+default manager, you can force Django to use a custom manager for related object
+attributes by giving it a ``use_for_related_fields`` property::
class MyManager(models.Manager)::
use_for_related_fields = True
Please sign in to comment.
Something went wrong with that request. Please try again.