Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
  • Loading branch information...
commit bc75e912a414832da903f7b839df20652184af07 1 parent 24d3129
Russell Keith-Magee authored September 14, 2008

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/db/models.txt
2  docs/topics/db/models.txt
@@ -478,7 +478,7 @@ many-to-many relationships, you can query using the attributes of the
478 478
 many-to-many-related model::
479 479
 
480 480
     # Find all the groups with a member whose name starts with 'Paul'
481  
-    >>> Groups.objects.filter(person__name__startswith='Paul')
  481
+    >>> Groups.objects.filter(members__name__startswith='Paul')
482 482
     [<Group: The Beatles>]
483 483
 
484 484
 As you are using an intermediate model, you can also query on its attributes::

0 notes on commit bc75e91

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