complete rework of offerings
This commit is contained in:
parent
84e25c82d1
commit
20f27bd6b5
16 changed files with 313 additions and 294 deletions
|
@ -11,9 +11,6 @@ def offering_list(request):
|
|||
.prefetch_related(
|
||||
"service__categories",
|
||||
"plans",
|
||||
"plans__prices",
|
||||
"plans__prices__currency",
|
||||
"plans__prices__term",
|
||||
)
|
||||
)
|
||||
|
||||
|
@ -62,9 +59,7 @@ def offering_detail(request, slug):
|
|||
offering = get_object_or_404(
|
||||
ServiceOffering.objects.select_related(
|
||||
"service", "cloud_provider"
|
||||
).prefetch_related(
|
||||
"plans", "plans__prices", "plans__prices__currency", "plans__prices__term"
|
||||
),
|
||||
).prefetch_related("plans"),
|
||||
slug=slug,
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue