From 49a94ccb94750b0094a753af1f552008586782d6 Mon Sep 17 00:00:00 2001 From: Stefano Apostolico Date: Tue, 22 Oct 2024 14:14:40 +0200 Subject: [PATCH] fixes qs --- src/aurora/core/admin/custom_field.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/aurora/core/admin/custom_field.py b/src/aurora/core/admin/custom_field.py index 7edf0dc8..31827db8 100644 --- a/src/aurora/core/admin/custom_field.py +++ b/src/aurora/core/admin/custom_field.py @@ -31,12 +31,7 @@ class CustomFieldTypeAdmin(SmartModelAdmin): } def get_queryset(self, request): - return ( - super() - .get_queryset(request) - .annotate(name_deterministic=Collate("name", "und-x-icu")) - .select_related("flex_form") - ) + return super().get_queryset(request).annotate(name_deterministic=Collate("name", "und-x-icu")) @button() def test(self, request, pk):