Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
  • Loading branch information...
commit e6a6ce4f070e38721d2e19a803ea2988c6c442dc 1 parent ebd7492
Karen Tracey authored

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
@@ -507,7 +507,7 @@ many-to-many relationships, you can query using the attributes of the
507 507
 many-to-many-related model::
508 508
 
509 509
     # Find all the groups with a member whose name starts with 'Paul'
510  
-    >>> Groups.objects.filter(members__name__startswith='Paul')
  510
+    >>> Group.objects.filter(members__name__startswith='Paul')
511 511
     [<Group: The Beatles>]
512 512
 
513 513
 As you are using an intermediate model, you can also query on its attributes::

0 notes on commit e6a6ce4

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