Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #11106 -- Corrected typo in models doc. Thanks mnieber.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 2cbec63f0b19bb00eebdbf874ecfabd405e25007 1 parent 7ba62f2
@kmtracey kmtracey authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  docs/topics/db/models.txt
2  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::

0 comments on commit 2cbec63

Please sign in to comment.
Something went wrong with that request. Please try again.