Commit f53fe1e7 authored by Timo Graham's avatar Timo Graham
Browse files

[1.3.X] Fixed #15875 - typo in F() example; thanks jblaine.

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
parent 6a3d9182
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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