From 3e25e5c242de52596c6703c214e5a63034c6c6e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C4=93teris=20Caune?= Date: Mon, 9 Mar 2020 09:50:48 +0200 Subject: [PATCH] Set the correct SMS limit when cancelling a paid plan. --- hc/payments/admin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/payments/admin.py b/hc/payments/admin.py index 54e9a3a2..aeacd2a6 100644 --- a/hc/payments/admin.py +++ b/hc/payments/admin.py @@ -51,7 +51,7 @@ class SubsAdmin(admin.ModelAdmin): profile = Profile.objects.for_user(sub.user) profile.check_limit = 20 profile.team_limit = 2 - profile.sms_limit = 0 + profile.sms_limit = 5 profile.save() self.message_user(request, "%d subscriptions cancelled" % qs.count())