diff options
author | Karen Tracey <kmtracey@gmail.com> | 2009-05-17 16:20:11 +0000 |
---|---|---|
committer | Karen Tracey <kmtracey@gmail.com> | 2009-05-17 16:20:11 +0000 |
commit | 2cbec63f0b19bb00eebdbf874ecfabd405e25007 (patch) | |
tree | 0500b9bb7c0b110cbafd4ed08450b1e30e8d4be5 | |
parent | 7ba62f2c15b4658d3280bcb588670a8b6d2b65fd (diff) | |
download | django-2cbec63f0b19bb00eebdbf874ecfabd405e25007.tar.gz |
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
-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 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') [<Group: The Beatles>] As you are using an intermediate model, you can also query on its attributes:: |