瀏覽代碼

Fixed incorrect import in docs/ref/models/expressions.txt.

lb1c 8 年之前
父節點
當前提交
36f2262741
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      docs/ref/models/expressions.txt

+ 2 - 2
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'))