From cf7f1a5b51bf2650393602829c81821be7fc0c09 Mon Sep 17 00:00:00 2001 From: rizwanisready Date: Thu, 1 Aug 2024 12:32:57 +0530 Subject: [PATCH] auto recurring testing phase 7 --- manage_subscriptions/views.py | 2 +- templates/manage_subscriptions/product_list.html | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/manage_subscriptions/views.py b/manage_subscriptions/views.py index 9a1299f..dab7572 100644 --- a/manage_subscriptions/views.py +++ b/manage_subscriptions/views.py @@ -325,7 +325,7 @@ class StripeProductDeleteView(LoginRequiredMixin, generic.View): page_name = resource_action.RESOURCE_MANAGE_SUBSCRIPTIONS resource = resource_action.RESOURCE_MANAGE_SUBSCRIPTIONS action = resource_action.ACTION_DELETE - model = Subscription + model = StripeProduct success_url = reverse_lazy("manage_subscriptions:product_list") success_message = constants.RECORD_DELETED error_message = constants.RECORD_NOT_FOUND diff --git a/templates/manage_subscriptions/product_list.html b/templates/manage_subscriptions/product_list.html index 684d62a..24c3e77 100644 --- a/templates/manage_subscriptions/product_list.html +++ b/templates/manage_subscriptions/product_list.html @@ -15,13 +15,13 @@

Manage Products

- - Add Products + +