diff options
| author | Karen Tracey <kmtracey@gmail.com> | 2009-05-17 16:22:44 +0000 |
|---|---|---|
| committer | Karen Tracey <kmtracey@gmail.com> | 2009-05-17 16:22:44 +0000 |
| commit | e6a6ce4f070e38721d2e19a803ea2988c6c442dc (patch) | |
| tree | 78bf247fd5e2b2fd9227d3942d38de75662f850a | |
| parent | ebd74921bbb2df485567d9325982d166ba01bb01 (diff) | |
[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
| -rw-r--r-- | docs/topics/db/models.txt | 2 |
1 files changed, 1 insertions, 1 deletions
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') [<Group: The Beatles>] As you are using an intermediate model, you can also query on its attributes:: |
