Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

Backport of ac223ff from master
  • Loading branch information...
commit 9bb04b1a6bcb98e7061f475aaac58add89d048ba 1 parent fe0a563
authored timgraham committed

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
@@ -1184,10 +1184,10 @@ The possible values for :attr:`~ForeignKey.on_delete` are found in
1184 1184
 
1185 1185
 .. class:: ManyToManyField(othermodel, [**options])
1186 1186
 
1187  
-A many-to-many relationship. Requires a positional argument: the class to which
1188  
-the model is related. This works exactly the same as it does for
1189  
-:class:`ForeignKey`, including all the options regarding :ref:`recursive
1190  
-<recursive-relationships>` and :ref:`lazy <lazy-relationships>` relationships.
  1187
+A many-to-many relationship. Requires a positional argument: the class to
  1188
+which the model is related, which works exactly the same as it does for
  1189
+:class:`ForeignKey`, including :ref:`recursive <recursive-relationships>` and
  1190
+:ref:`lazy <lazy-relationships>` relationships.
1191 1191
 
1192 1192
 Related objects can be added, removed, or created with the field's
1193 1193
 :class:`~django.db.models.fields.related.RelatedManager`.

0 notes on commit 9bb04b1

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