summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorlb1c <lb1c@users.noreply.github.com>2017-03-15 13:09:48 +0100
committerTim Graham <timograham@gmail.com>2017-03-15 08:10:09 -0400
commit70e6064d6be565758141d988d8cb453ae6b95893 (patch)
tree5867c6275f55ad7ca0212915adb4717f1c1d4641 /docs
parent4188b20e3a6fe608e210a73513b1fb6aae739b36 (diff)
[1.11.x] Fixed incorrect import in docs/ref/models/expressions.txt.
Backport of 36f2262741311159e5c13eb5114fb9e902e2df31 from master
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/models/expressions.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt
index 66df714cf8..f6f224fbdf 100644
--- a/docs/ref/models/expressions.txt
+++ b/docs/ref/models/expressions.txt
@@ -22,8 +22,8 @@ Some examples
.. code-block:: python
- from django.db.models import F, Count
- from django.db.models.functions import Length, Upper, Value
+ from django.db.models import F, Count, Value
+ from django.db.models.functions import Length, Upper
# Find companies that have more employees than chairs.
Company.objects.filter(num_employees__gt=F('num_chairs'))