complete rework of offerings

This commit is contained in:
Tobias Brunner 2025-02-28 14:13:51 +01:00
parent 84e25c82d1
commit 20f27bd6b5
No known key found for this signature in database
16 changed files with 313 additions and 294 deletions

View file

@ -30,9 +30,6 @@ class ServiceBrokerViewSet(viewsets.ViewSet):
broker_user = get_object_or_404(ServiceBrokerUser, user=request.user)
offerings = broker_user.allowed_offerings.prefetch_related(
"plans",
"plans__prices",
"plans__prices__currency",
"plans__prices__term",
"service",
"cloud_provider",
).all()