[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
This commit is contained in:
parent
6a3d91828f
commit
f53fe1e79e
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue