diff options
| author | Vyacheslav Ver <vvvyacheslav23@gmail.com> | 2019-05-16 14:11:47 +0300 |
|---|---|---|
| committer | Carlton Gibson <carlton.gibson@noumenal.es> | 2019-05-16 16:03:27 +0200 |
| commit | 60b6a7ea9d9bd759ee623f080165416bc0207e59 (patch) | |
| tree | 31b16e7f4c203fc0fbed0ed8420ba0ca35e362e8 /docs | |
| parent | 8076ae68c1842aec26cbab51dc8ab609fb135eb0 (diff) | |
Fixed typo in expression documentation.
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/ref/models/expressions.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index 96de2f3e6c..bb88f27b46 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -239,7 +239,7 @@ For example, to sort companies that haven't been contacted (``last_contacted`` is null) after companies that have been contacted:: from django.db.models import F - Company.object.order_by(F('last_contacted').desc(nulls_last=True)) + Company.objects.order_by(F('last_contacted').desc(nulls_last=True)) .. _func-expressions: |
