Skip to content

Commit

Permalink
Build fix
Browse files Browse the repository at this point in the history
  • Loading branch information
filippomc committed Jul 8, 2024
1 parent fe60913 commit 6b22c18
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions applications/portal/backend/api/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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")
Expand Down

0 comments on commit 6b22c18

Please sign in to comment.