Display service catalogs #22

Merged
rixx merged 17 commits from 13-service-catalog into main 2025-03-25 11:18:20 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 86fe4ec3ec - Show all commits

View file

@ -173,8 +173,8 @@ class PlanAdmin(admin.ModelAdmin):
@admin.register(ServiceOffering)
class ServiceOfferingAdmin(admin.ModelAdmin):
list_display = ("id", "service", "provider")
list_filter = ("service", "provider", "control_plane")
list_filter = ("service", "provider", "control_planes")
search_fields = ("description",)
autocomplete_fields = ("service", "provider")
filter_horizontal = ("control_plane",)
filter_horizontal = ("control_planes",)
inlines = (PlanInline,)

View file

@ -245,7 +245,7 @@ class ServiceOffering(models.Model):
related_name="offerings",
verbose_name=_("Provider"),
)
control_plane = models.ManyToManyField(
control_planes = models.ManyToManyField(
to="ControlPlane",
related_name="offerings",
verbose_name=_("Control planes"),