Kaydet (Commit) 60b6a7ea authored tarafından Vyacheslav Ver's avatar Vyacheslav Ver Kaydeden (comit) Carlton Gibson

Fixed typo in expression documentation.

üst 8076ae68
...@@ -239,7 +239,7 @@ For example, to sort companies that haven't been contacted (``last_contacted`` ...@@ -239,7 +239,7 @@ For example, to sort companies that haven't been contacted (``last_contacted``
is null) after companies that have been contacted:: is null) after companies that have been contacted::
from django.db.models import F 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: .. _func-expressions:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment