[1.11.x] Fixed incorrect import in docs/ref/models/expressions.txt.
Backport of 36f2262741
from master
This commit is contained in:
parent
4188b20e3a
commit
70e6064d6b
|
@ -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'))
|
||||
|
|
Loading…
Reference in New Issue