python: Import F, Q, QuerySet from their canonical module.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-03-03 16:52:14 -08:00
committed by Tim Abbott
parent aa577a554b
commit d3efd4c095
17 changed files with 17 additions and 24 deletions

View File

@@ -7,8 +7,7 @@ from unittest.mock import patch
import orjson
from django.conf import settings
from django.core.exceptions import ValidationError
from django.db.models import Q
from django.db.models.query import QuerySet
from django.db.models import Q, QuerySet
from django.utils.timezone import now as timezone_now
from analytics.models import UserCount