From bd0dd87dae074038e1798923acc450336f5a13a7 Mon Sep 17 00:00:00 2001 From: Bendeguz Csirmaz Date: Tue, 13 Aug 2024 03:30:22 +0800 Subject: [PATCH] Refs #373 - Fix imports --- django/db/backends/mysql/operations.py | 1 - django/db/backends/postgresql/operations.py | 2 +- django/db/backends/sqlite3/operations.py | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/django/db/backends/mysql/operations.py b/django/db/backends/mysql/operations.py index 2b1756e3fd34d..267a4c8fb0893 100644 --- a/django/db/backends/mysql/operations.py +++ b/django/db/backends/mysql/operations.py @@ -6,7 +6,6 @@ from django.db.backends.utils import split_tzname_delta from django.db.models import Exists, ExpressionWrapper, Lookup from django.db.models.constants import OnConflict -from django.db.models.expressions import Col, ColPairs from django.utils import timezone from django.utils.encoding import force_str from django.utils.regex_helper import _lazy_re_compile diff --git a/django/db/backends/postgresql/operations.py b/django/db/backends/postgresql/operations.py index 881fcea4ce32c..1b38ae63c998d 100644 --- a/django/db/backends/postgresql/operations.py +++ b/django/db/backends/postgresql/operations.py @@ -13,7 +13,7 @@ ) from django.db.backends.utils import split_tzname_delta from django.db.models.constants import OnConflict -from django.db.models.expressions import Col, ColPairs +from django.db.models.expressions import ColPairs from django.db.models.functions import Cast from django.utils.regex_helper import _lazy_re_compile diff --git a/django/db/backends/sqlite3/operations.py b/django/db/backends/sqlite3/operations.py index efd34fb092483..a70b19506b146 100644 --- a/django/db/backends/sqlite3/operations.py +++ b/django/db/backends/sqlite3/operations.py @@ -9,7 +9,7 @@ from django.db import DatabaseError, NotSupportedError, models from django.db.backends.base.operations import BaseDatabaseOperations from django.db.models.constants import OnConflict -from django.db.models.expressions import Col, ColPairs +from django.db.models.expressions import Col from django.utils import timezone from django.utils.dateparse import parse_date, parse_datetime, parse_time from django.utils.functional import cached_property