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 @@