From bc75e912a414832da903f7b839df20652184af07 Mon Sep 17 00:00:00 2001 From: Russell Keith-Magee Date: Sun, 14 Sep 2008 07:52:45 +0000 Subject: [PATCH] Fixed #9046: Corrected a typo in the m2m intermediate docs. Thanks to djoume for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9020 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 a655c4e97f..7a38baec50 100644 --- a/docs/topics/db/models.txt +++ b/docs/topics/db/models.txt @@ -478,7 +478,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(person__name__startswith='Paul') + >>> Groups.objects.filter(members__name__startswith='Paul') [] As you are using an intermediate model, you can also query on its attributes::