diff options
| author | Christopher Medrela <chris.medrela@gmail.com> | 2013-07-12 11:50:08 +0200 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2013-07-12 06:06:17 -0400 |
| commit | 9bb04b1a6bcb98e7061f475aaac58add89d048ba (patch) | |
| tree | 79ef2a07a525e1463b374a6e511b954b05233ef0 /docs/ref | |
| parent | fe0a563f812d9b05ef79ab89e0cb505b288b0d6a (diff) | |
[1.6.x] Fixed #20735 -- clarified ManyToManyField constructor doc
Backport of ac223ff6d1 from master
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/models/fields.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index f5c1058b17..869996643f 100644 --- a/docs/ref/models/fields.txt +++ b/docs/ref/models/fields.txt @@ -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`. |
