From 335c9c94acf263901fb023404408880245b0c4b4 Mon Sep 17 00:00:00 2001 From: Nick Pope Date: Tue, 20 Aug 2019 08:54:41 +0100 Subject: Simplified imports from django.db and django.contrib.gis.db. --- tests/expressions_window/tests.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'tests/expressions_window') 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, -- cgit v1.2.1