diff options
| author | Russell Keith-Magee <russell@keith-magee.com> | 2008-09-14 07:52:45 +0000 |
|---|---|---|
| committer | Russell Keith-Magee <russell@keith-magee.com> | 2008-09-14 07:52:45 +0000 |
| commit | bc75e912a414832da903f7b839df20652184af07 (patch) | |
| tree | 0e79ac0add519960693a240d18e683bdd2e9f1d0 /docs | |
| parent | 24d3129edda155405e9665565e56d1783390f61d (diff) | |
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
Diffstat (limited to 'docs')
| -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 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') [<Group: The Beatles>] As you are using an intermediate model, you can also query on its attributes:: |
