Skip to content

Commit

Permalink
Fixed #20735 -- clarified ManyToManyField constructor doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Christopher Medrela committed Jul 12, 2013
1 parent 59ebe39 commit ac223ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/ref/models/fields.txt
Expand Up @@ -1184,10 +1184,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`.
Expand Down

0 comments on commit ac223ff

Please sign in to comment.