diff options
| author | lb1c <lb1c@users.noreply.github.com> | 2017-03-15 13:09:48 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-03-15 08:10:28 -0400 |
| commit | 76508a5119f5e39a66d177699b0af57e1a57fa40 (patch) | |
| tree | d3572affc1fa47aa91dab59b672d816e20a528b6 /docs/ref/models | |
| parent | f05219a9d389ebf4c5ba8fc191498ecbcf5eac74 (diff) | |
[1.9.x] Fixed incorrect import in docs/ref/models/expressions.txt.
Backport of 36f2262741311159e5c13eb5114fb9e902e2df31 from master
Diffstat (limited to 'docs/ref/models')
| -rw-r--r-- | docs/ref/models/expressions.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/ref/models/expressions.txt b/docs/ref/models/expressions.txt index 051d92d543..ea69ab922a 100644 --- a/docs/ref/models/expressions.txt +++ b/docs/ref/models/expressions.txt @@ -30,8 +30,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')) |
