Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[1.5.x] Fixed #20735 -- clarified ManyToManyField constructor doc

Backport of ac223ff from master
  • Loading branch information...
commit 80a7dd6f7fa0b2fe56978eafdf4a1c7eaf0ad29b 1 parent 83119fd
authored July 12, 2013 timgraham committed July 12, 2013

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

  1. 8  docs/ref/models/fields.txt
8  docs/ref/models/fields.txt
@@ -1117,10 +1117,10 @@ The possible values for :attr:`~ForeignKey.on_delete` are found in
1117 1117
 
1118 1118
 .. class:: ManyToManyField(othermodel, [**options])
1119 1119
 
1120  
-A many-to-many relationship. Requires a positional argument: the class to which
1121  
-the model is related. This works exactly the same as it does for
1122  
-:class:`ForeignKey`, including all the options regarding :ref:`recursive
1123  
-<recursive-relationships>` and :ref:`lazy <lazy-relationships>` relationships.
  1120
+A many-to-many relationship. Requires a positional argument: the class to
  1121
+which the model is related, which works exactly the same as it does for
  1122
+:class:`ForeignKey`, including :ref:`recursive <recursive-relationships>` and
  1123
+:ref:`lazy <lazy-relationships>` relationships.
1124 1124
 
1125 1125
 Related objects can be added, removed, or created with the field's
1126 1126
 :class:`~django.db.models.fields.related.RelatedManager`.

0 notes on commit 80a7dd6

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