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

@ -43,9 +43,7 @@ def create_lead(request, slug):
# Get the selected plan
selected_plan = get_object_or_404(
Plan.objects.prefetch_related(
"prices", "prices__currency", "prices__term"
),
Plan,
id=request.GET.get("plan"),
offering=selected_offering,
)