From 24b22e7e756c119faef8bde711fa71b51579f3e7 Mon Sep 17 00:00:00 2001 From: Rishi Gupta Date: Fri, 31 Aug 2018 17:40:20 -0700 Subject: [PATCH] billing: Guard billing by BILLING_ENABLED rather than DEVELOPMENT. --- zilencer/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zilencer/views.py b/zilencer/views.py index a1d831c303..efd2d5dc53 100644 --- a/zilencer/views.py +++ b/zilencer/views.py @@ -177,7 +177,7 @@ def unsign_and_check_upgrade_parameters(user: UserProfile, plan_nickname: str, @zulip_login_required def initial_upgrade(request: HttpRequest) -> HttpResponse: - if not settings.DEVELOPMENT: + if not settings.BILLING_ENABLED: return render(request, "404.html") user = request.user