Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Edited docs/ref/models/fields.txt change from [14049]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@14367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 19a089ce761bd402fc1b94906b48338bb4ee1ac3 1 parent c6f90f0
Adrian Holovaty authored

Showing 1 changed file with 3 additions and 6 deletions. Show diff stats Hide diff stats

  1. 9  docs/ref/models/fields.txt
9  docs/ref/models/fields.txt
@@ -927,15 +927,12 @@ define the details of how the relation works.
927 927
     <abstract-base-classes>`; and when you do so
928 928
     :ref:`some special syntax <abstract-related-name>` is available.
929 929
 
930  
-    If you wish to suppress the provision of a backwards relation, you may
931  
-    simply provide a ``related_name`` which ends with a ``'+'`` character.
932  
-    For example::
  930
+    If you'd prefer Django didn't create a backwards relation, set ``related_name``
  931
+    to ``'+'``. For example, this will ensure that the ``User`` model won't get a
  932
+    backwards relation to this model::
933 933
    
934 934
         user = models.ForeignKey(User, related_name='+')
935 935
 
936  
-    will ensure that no backwards relation to this model is provided on the 
937  
-    ``User`` model.
938  
-
939 936
 .. attribute:: ForeignKey.to_field
940 937
 
941 938
     The field on the related object that the relation is to. By default, Django

0 notes on commit 19a089c

Please sign in to comment.
Something went wrong with that request. Please try again.