mirror of https://github.com/django/django.git
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:
parent
f4c808b7f5
commit
b2481a2cfb
|
@ -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