Skip to content

Commit

Permalink
[1.3.X] Fixed #15875 - typo in F() example; thanks jblaine.
Browse files Browse the repository at this point in the history
Backport of r16096 from trunk.

git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information
timgraham committed Apr 23, 2011
1 parent 6a3d918 commit f53fe1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/topics/db/queries.txt
Expand Up @@ -540,7 +540,7 @@ references can then be used in query filters to compare the values of two
different fields on the same model instance.

For example, to find a list of all blog entries that have had more comments
than pingbacks, we construct an ``F()`` object to reference the comment count,
than pingbacks, we construct an ``F()`` object to reference the pingback count,
and use that ``F()`` object in the query::

>>> from django.db.models import F
Expand Down

0 comments on commit f53fe1e

Please sign in to comment.