From 5eccfd8e9e7adf2bf9c21107efc539eb7c9b03ba Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Tue, 17 Jun 2025 11:51:07 +0300 Subject: [PATCH] Fixes: 1) Add missing import for `Exists` in `django.db.models`. --- core/filters.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/filters.py b/core/filters.py index 4188d2b2..992d8970 100644 --- a/core/filters.py +++ b/core/filters.py @@ -3,7 +3,7 @@ import logging import uuid from django.core.exceptions import BadRequest -from django.db.models import Avg, FloatField, OuterRef, Q, Subquery, Value +from django.db.models import Avg, Exists, FloatField, OuterRef, Q, Subquery, Value from django.db.models.functions import Coalesce from django.utils.http import urlsafe_base64_decode from django.utils.translation import gettext_lazy as _