Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

Backport of ac223ff from master
  • Loading branch information...
commit 80a7dd6f7fa0b2fe56978eafdf4a1c7eaf0ad29b 1 parent 83119fd
Christopher Medrela authored timgraham committed
Showing with 4 additions and 4 deletions.
  1. +4 −4 docs/ref/models/fields.txt
View
8 docs/ref/models/fields.txt
@@ -1117,10 +1117,10 @@ The possible values for :attr:`~ForeignKey.on_delete` are found in
.. class:: ManyToManyField(othermodel, [**options])
-A many-to-many relationship. Requires a positional argument: the class to which
-the model is related. This works exactly the same as it does for
-:class:`ForeignKey`, including all the options regarding :ref:`recursive
-<recursive-relationships>` and :ref:`lazy <lazy-relationships>` relationships.
+A many-to-many relationship. Requires a positional argument: the class to
+which the model is related, which works exactly the same as it does for
+:class:`ForeignKey`, including :ref:`recursive <recursive-relationships>` and
+:ref:`lazy <lazy-relationships>` relationships.
Related objects can be added, removed, or created with the field's
:class:`~django.db.models.fields.related.RelatedManager`.
Please sign in to comment.
Something went wrong with that request. Please try again.