From e6a6ce4f070e38721d2e19a803ea2988c6c442dc Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sun, 17 May 2009 16:22:44 +0000 Subject: [PATCH] [1.0.X] Fixed #11106 -- Corrected typo in models doc. Thanks mnieber. r10797 from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10798 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- docs/topics/db/models.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/topics/db/models.txt b/docs/topics/db/models.txt index a6fa7018e0..8b55e4f513 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -507,7 +507,7 @@ many-to-many relationships, you can query using the attributes of the 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') [] As you are using an intermediate model, you can also query on its attributes::