From 16a5540e58c510f3e351107c02d4b83befcc9c80 Mon Sep 17 00:00:00 2001 From: Rishi Gupta Date: Wed, 22 Aug 2018 18:43:11 -0700 Subject: [PATCH] billing: Add comment to downgrading section in views.billing_home. --- zilencer/views.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zilencer/views.py b/zilencer/views.py index 089367a335..4a4037e7d3 100644 --- a/zilencer/views.py +++ b/zilencer/views.py @@ -257,7 +257,9 @@ def billing_home(request: HttpRequest) -> HttpResponse: if prorated_charges < 0: prorated_credits = -prorated_charges # nocoverage -- no way to get here yet prorated_charges = 0 # nocoverage - else: # nocoverage -- no way to get here yet + # Can only get here by subscribing and then downgrading. We don't support downgrading + # yet, but keeping this code here since we will soon. + else: # nocoverage plan_name = "Zulip Free" seat_count = 0 renewal_date = ''