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