Author: russellm
Date: 2008-09-14 02:52:45 -0500 (Sun, 14 Sep 2008)
New Revision: 9020

Modified:
   django/trunk/docs/topics/db/models.txt
Log:
Fixed #9046: Corrected a typo in the m2m intermediate docs. Thanks to djoume 
for the report.

Modified: django/trunk/docs/topics/db/models.txt
===================================================================
--- django/trunk/docs/topics/db/models.txt      2008-09-14 07:04:40 UTC (rev 
9019)
+++ django/trunk/docs/topics/db/models.txt      2008-09-14 07:52:45 UTC (rev 
9020)
@@ -478,7 +478,7 @@
 many-to-many-related model::
 
     # Find all the groups with a member whose name starts with 'Paul'
-    >>> Groups.objects.filter(person__name__startswith='Paul')
+    >>> Groups.objects.filter(members__name__startswith='Paul')
     [<Group: The Beatles>]
 
 As you are using an intermediate model, you can also query on its attributes::


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to