diff options
| author | Christopher Medrela <chris.medrela@gmail.com> | 2013-07-12 11:50:08 +0200 |
|---|---|---|
| committer | Christopher Medrela <chris.medrela@gmail.com> | 2013-07-12 11:50:08 +0200 |
| commit | ac223ff6d1efda56ab1d2e5afe250f744a0a4e64 (patch) | |
| tree | 31a446a25bfb49faa3b1410d23a01f7b77f5d305 /docs/ref/models | |
| parent | 59ebe39812858ba37e83ab0ee886f676980d472d (diff) | |
Fixed #20735 -- clarified ManyToManyField constructor doc
Diffstat (limited to 'docs/ref/models')
| -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`. |
