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

@@ -4,7 +4,7 @@ from typing import Any, Callable, Collection, Dict, Iterable, List, Mapping, Opt
from django.core.exceptions import ValidationError
from django.db import connection
from django.db.models.query import QuerySet
from django.db.models import QuerySet
from django.utils.translation import gettext as _
from psycopg2.sql import SQL