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 %}