Author: mtredinnick
Date: 2009-03-08 22:33:54 -0500 (Sun, 08 Mar 2009)
New Revision: 10007
Modified:
django/trunk/docs/ref/models/fields.txt
django/trunk/docs/topics/db/models.txt
Log:
Made a couple of cross-references in the model fields documentaiton consistent.
Modified: django/trunk/docs/ref/models/fields.txt
===================================================================
--- django/trunk/docs/ref/models/fields.txt 2009-03-09 01:37:17 UTC (rev
10006)
+++ django/trunk/docs/ref/models/fields.txt 2009-03-09 03:33:54 UTC (rev
10007)
@@ -869,14 +869,14 @@
Same as :attr:`ForeignKey.related_name`.
-.. attribute:: ManyToManyFields.limit_choices_to
+.. attribute:: ManyToManyField.limit_choices_to
Same as :attr:`ForeignKey.limit_choices_to`.
``limit_choices_to`` has no effect when used on a ``ManyToManyField`` with
an intermediate table.
-.. attribute:: ManyToManyFields.symmetrical
+.. attribute:: ManyToManyField.symmetrical
Only used in the definition of ManyToManyFields on self. Consider the
following model::
@@ -895,7 +895,7 @@
add the descriptor for the reverse relationship, allowing
:class:`ManyToManyField` relationships to be non-symmetrical.
-.. attribute:: ManyToManyFields.through
+.. attribute:: ManyToManyField.through
Django will automatically generate a table to manage many-to-many
relationships. However, if you want to manually specify the intermediary
Modified: django/trunk/docs/topics/db/models.txt
===================================================================
--- django/trunk/docs/topics/db/models.txt 2009-03-09 01:37:17 UTC (rev
10006)
+++ django/trunk/docs/topics/db/models.txt 2009-03-09 03:33:54 UTC (rev
10007)
@@ -381,7 +381,7 @@
to govern the many-to-many relationship. You can then put extra fields on the
intermediate model. The intermediate model is associated with the
:class:`~django.db.models.ManyToManyField` using the
-:attr:`through <ManyToManyFields.through>` argument to point to the model
+:attr:`through <ManyToManyField.through>` argument to point to the model
that will act as an intermediary. For our musician example, the code would look
something like this::
@@ -426,7 +426,7 @@
* When defining a many-to-many relationship from a model to
itself, using an intermediary model, you *must* use
- :attr:`symmetrical=False <ManyToManyFields.symmetrical>` (see
+ :attr:`symmetrical=False <ManyToManyField.symmetrical>` (see
:ref:`the model field reference <manytomany-arguments>`).
Now that you have set up your :class:`~django.db.models.ManyToManyField` to use
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---