Fixed #15875 - typo in F() example; thanks jblaine.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@16096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Timo Graham 2011-04-23 21:48:23 +00:00
parent f4c808b7f5
commit b2481a2cfb
1 changed files with 1 additions and 1 deletions

View File

@ -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. different fields on the same model instance.
For example, to find a list of all blog entries that have had more comments 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:: and use that ``F()`` object in the query::
>>> from django.db.models import F >>> from django.db.models import F