Ticket #15875: 15875.diff
File 15875.diff, 588 bytes (added by , 14 years ago) |
---|
-
docs/topics/db/queries.txt
540 540 different fields on the same model instance. 541 541 542 542 For example, to find a list of all blog entries that have had more comments 543 than pingbacks, we construct an ``F()`` object to reference the commentcount,543 than pingbacks, we construct an ``F()`` object to reference the pingback count, 544 544 and use that ``F()`` object in the query:: 545 545 546 546 >>> from django.db.models import F