mirror of https://github.com/zulip/zulip.git
billing: Don't show initial upgrade page in production for now.
This commit is contained in:
parent
19f37fb3d4
commit
f98a86cdc2
|
@ -161,6 +161,9 @@ def remote_server_notify_push(request: HttpRequest, entity: Union[UserProfile, R
|
|||
|
||||
@zulip_login_required
|
||||
def initial_upgrade(request: HttpRequest) -> HttpResponse:
|
||||
if not settings.DEVELOPMENT:
|
||||
return render(request, "404.html")
|
||||
|
||||
user = request.user
|
||||
error_message = ""
|
||||
|
||||
|
|
Loading…
Reference in New Issue