From 2cbec63f0b19bb00eebdbf874ecfabd405e25007 Mon Sep 17 00:00:00 2001 From: Karen Tracey Date: Sun, 17 May 2009 16:20:11 +0000 Subject: [PATCH] Fixed #11106 -- Corrected typo in models doc. Thanks mnieber. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10797 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 25d76c9c42..55d4ace0a9 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::