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:15 -0400
commite0bd66d02474784c00ff4eae59aa0070a05a7214 (patch)
treeaf75dca28da53ae51007404343bd4295c004d563 /docs
parent46d602dcea624bef3fb6e1dbf71378d837c0957b (diff)
[1.10.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 350f3a1637..8299c00397 100644
--- a/docs/ref/models/expressions.txt
+++ b/docs/ref/models/expressions.txt
@@ -26,8 +26,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'))