From 0ba056cb636c2fda080a96348ecf623ec1ab8d16 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Wed, 31 Jul 2024 20:18:11 +0530 Subject: [PATCH] auto recurring testing phase 5 --- manage_subscriptions/views.py | 2 +- templates/manage_subscriptions/product_list.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/manage_subscriptions/views.py b/manage_subscriptions/views.py index 2419abc..9a1299f 100644 --- a/manage_subscriptions/views.py +++ b/manage_subscriptions/views.py @@ -307,7 +307,7 @@ class StripeProductView(LoginRequiredMixin, generic.ListView): page_name = resource_action.RESOURCE_MANAGE_SUBSCRIPTIONS resource = resource_action.RESOURCE_MANAGE_SUBSCRIPTIONS action = resource_action.ACTION_READ - model = Subscription + model = StripeProduct template_name = "manage_subscriptions/product_list.html" context_object_name = "product_obj" diff --git a/templates/manage_subscriptions/product_list.html b/templates/manage_subscriptions/product_list.html index 138b20d..3af6148 100644 --- a/templates/manage_subscriptions/product_list.html +++ b/templates/manage_subscriptions/product_list.html @@ -55,7 +55,7 @@ - {% for data_obj in subscription_obj %} + {% for data_obj in product_obj %} {{data_obj.id}} {{data_obj.title}}