mirror of https://github.com/zulip/zulip.git
billing: Guard billing by BILLING_ENABLED rather than DEVELOPMENT.
This commit is contained in:
parent
336c2cee20
commit
24b22e7e75
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue