Author: kmtracey
Date: 2009-05-17 11:20:11 -0500 (Sun, 17 May 2009)
New Revision: 10797

Modified:
   django/trunk/docs/topics/db/models.txt
Log:
Fixed #11106 -- Corrected typo in models doc.  Thanks mnieber.


Modified: django/trunk/docs/topics/db/models.txt
===================================================================
--- django/trunk/docs/topics/db/models.txt      2009-05-17 16:15:16 UTC (rev 
10796)
+++ django/trunk/docs/topics/db/models.txt      2009-05-17 16:20:11 UTC (rev 
10797)
@@ -507,7 +507,7 @@
 many-to-many-related model::
 
     # Find all the groups with a member whose name starts with 'Paul'
-    >>> Groups.objects.filter(members__name__startswith='Paul')
+    >>> Group.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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to