summaryrefslogtreecommitdiff
path: root/tests/expressions_window
diff options
context:
space:
mode:
authorNick Pope <nick.pope@flightdataservices.com>2019-08-20 08:54:41 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-02-04 13:20:06 +0100
commit335c9c94acf263901fb023404408880245b0c4b4 (patch)
tree691e9683de6c9840cd0a9a097d020c499ea735db /tests/expressions_window
parent469bf2db15597f2c87cb0f8f64132056d2467f15 (diff)
downloaddjango-335c9c94acf263901fb023404408880245b0c4b4.tar.gz
Simplified imports from django.db and django.contrib.gis.db.
Diffstat (limited to 'tests/expressions_window')
-rw-r--r--tests/expressions_window/tests.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/expressions_window/tests.py b/tests/expressions_window/tests.py
index 686594584f..30ed64f529 100644
--- a/tests/expressions_window/tests.py
+++ b/tests/expressions_window/tests.py
@@ -4,10 +4,9 @@ from unittest import mock, skipIf
from django.core.exceptions import FieldError
from django.db import NotSupportedError, connection
from django.db.models import (
- BooleanField, Case, F, Func, OuterRef, Q, RowRange, Subquery, Value,
- ValueRange, When, Window, WindowFrame,
+ Avg, BooleanField, Case, F, Func, Max, Min, OuterRef, Q, RowRange,
+ Subquery, Sum, Value, ValueRange, When, Window, WindowFrame,
)
-from django.db.models.aggregates import Avg, Max, Min, Sum
from django.db.models.functions import (
CumeDist, DenseRank, ExtractYear, FirstValue, Lag, LastValue, Lead,
NthValue, Ntile, PercentRank, Rank, RowNumber, Upper,