mirror of
https://github.com/django/django.git
synced 2025-01-26 18:19:18 +00:00
Fixed incorrect import in docs/ref/models/expressions.txt.
This commit is contained in:
parent
b625907a79
commit
36f2262741
@ -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…
x
Reference in New Issue
Block a user