From 5b6778b8b98a3999d15ec3560ad605cdd302e23b Mon Sep 17 00:00:00 2001 From: Mariusz Felisiak Date: Fri, 17 Jan 2020 09:09:31 +0100 Subject: [PATCH] [3.0.x] Refs #31097 -- Added django.db.models.Q import to contrib.postgres aggregates tests. --- tests/postgres_tests/test_aggregates.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/postgres_tests/test_aggregates.py b/tests/postgres_tests/test_aggregates.py index fc3bb57d28..eb07c44595 100644 --- a/tests/postgres_tests/test_aggregates.py +++ b/tests/postgres_tests/test_aggregates.py @@ -1,6 +1,6 @@ import json -from django.db.models import CharField +from django.db.models import CharField, Q from django.db.models.expressions import F, OuterRef, Subquery, Value from django.db.models.functions import Cast, Concat, Substr from django.test.utils import Approximate