From 6b22c1822a915db7a552fca4a16b48ca4827f657 Mon Sep 17 00:00:00 2001 From: Filippo Ledda Date: Mon, 8 Jul 2024 17:30:56 +0200 Subject: [PATCH] Build fix --- applications/portal/backend/api/admin.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/applications/portal/backend/api/admin.py b/applications/portal/backend/api/admin.py index 306bd8c6..9d037c0a 100644 --- a/applications/portal/backend/api/admin.py +++ b/applications/portal/backend/api/admin.py @@ -341,7 +341,7 @@ def queryset(self, request, queryset): @admin.register(VendorDomain) -class VendorDomainAdmin(admin.ModelAdmin, SimpleHistoryAdmin): +class VendorDomainAdmin(SimpleHistoryAdmin): list_display = ( "base_url", "vendor", @@ -352,7 +352,7 @@ class VendorDomainAdmin(admin.ModelAdmin, SimpleHistoryAdmin): list_filter = [CommercialTypeFilter] @admin.register(Vendor) -class VendorAdmin(admin.ModelAdmin, SimpleHistoryAdmin): +class VendorAdmin(SimpleHistoryAdmin): delete_confirmation_template = "admin/vendor/delete_confirmation.html" search_fields = ("name",) list_display = ("id", "name", "commercial_type", "nif_id", "eu_id")