diff options
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/querysets.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/querysets.txt b/docs/ref/models/querysets.txt index 38192d4fa6..6b042d305e 100644 --- a/docs/ref/models/querysets.txt +++ b/docs/ref/models/querysets.txt @@ -498,7 +498,7 @@ Examples (those after the first will only work on PostgreSQL):: ...wouldn't work because the query would be ordered by ``blog__name`` thus mismatching the ``DISTINCT ON`` expression. You'd have to explicitly order - by the relation `_id` field (``blog_id`` in this case) or the referenced + by the relation ``_id`` field (``blog_id`` in this case) or the referenced one (``blog__pk``) to make sure both expressions match. ``values()`` |
