summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-17 09:09:31 +0100
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2020-01-17 09:13:11 +0100
commit5b6778b8b98a3999d15ec3560ad605cdd302e23b (patch)
tree87e9b221f69e041d7794562055fc69b78b8be35b
parent69c6891140e6bad0f7deedde03d65b6d01d77ac5 (diff)
[3.0.x] Refs #31097 -- Added django.db.models.Q import to contrib.postgres aggregates tests.
-rw-r--r--tests/postgres_tests/test_aggregates.py2
1 files changed, 1 insertions, 1 deletions
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