Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
registration: Document incorrect 500 template use.
Tim Abbottf15d12f257bd
diff --git a/zerver/views/registration.py b/zerver/views/registration.pyindex e7bae3d6d30..479b1c38f64 100644--- a/zerver/views/registration.py+++ b/zerver/views/registration.py@@ -946,6 +946,10 @@ def create_realm(request: HttpRequest, creation_key: str | None = None) -> HttpRexcept EmailNotDeliveredError:logging.exception("Failed to deliver email during realm creation")if settings.CORPORATE_ENABLED:+ # BUG: Because Django's server_error doesn't+ # support context, this doesn't render the+ # template properly for the corporate case.+ # https://docs.djangoproject.com/en/5.1/ref/views/#the-500-server-error-viewreturn server_error(request)return config_error(request, "smtp")