From 80a7dd6f7fa0b2fe56978eafdf4a1c7eaf0ad29b Mon Sep 17 00:00:00 2001 From: Christopher Medrela Date: Fri, 12 Jul 2013 11:50:08 +0200 Subject: [1.5.x] Fixed #20735 -- clarified ManyToManyField constructor doc Backport of ac223ff6d1 from master --- docs/ref/models/fields.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'docs/ref/models') diff --git a/docs/ref/models/fields.txt b/docs/ref/models/fields.txt index 7eca8fe5a0..1058df2dbf 100644 --- a/docs/ref/models/fields.txt +++ b/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 -` and :ref:`lazy ` 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 ` and +:ref:`lazy ` relationships. Related objects can be added, removed, or created with the field's :class:`~django.db.models.fields.related.RelatedManager`. -- cgit v1.3