billing: Don't show initial upgrade page in production for now.

This commit is contained in:
Vishnu Ks
2018-07-25 17:04:09 +05:30
committed by Rishi Gupta
parent 19f37fb3d4
commit f98a86cdc2

View File

@@ -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 = ""