Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
docs: Improve documentation for changing a realm's subdomain.
Siddharth Asthana6ee7d5c9831a
diff --git a/docs/production/management-commands.md b/docs/production/management-commands.mdindex ecc2c5c2e43..9b35aeef146 100644--- a/docs/production/management-commands.md+++ b/docs/production/management-commands.md@@ -116,6 +116,7 @@ There are dozens of useful management commands underusers.* `./manage.py send_password_reset_email`: Sends password reset email(s)to one or more users.+* `./manage.py change_realm_subdomain`: Change subdomain of a realm.* `./manage.py change_user_email`: Change a user's email address.* `./manage.py change_user_role`: Can change are user's role(easier done [via thediff --git a/templates/zerver/help/change-organization-url.md b/templates/zerver/help/change-organization-url.mdindex 52ef11d419f..ed7619d6ef5 100644--- a/templates/zerver/help/change-organization-url.md+++ b/templates/zerver/help/change-organization-url.md@@ -24,23 +24,9 @@ for paid plans.If you're self-hosting, you can change the root domain of your Zulipserver by changing the `EXTERNAL_HOST` [setting][zulip-settings]. Ifyou're [hosting multiple organizations][zulip-multiple-organizations]-and want to change the subdomain for one of them, you can follow these-steps:--{start_tabs}--1. Get the `string_id` for your organization as [described here][find-string-id]--2. Run the following commands in a [management shell][management-shell]:-- ```- realm = get_realm("string_id")- do_change_realm_subdomain(realm, "new_subdomain")- ```--{end_tabs}+and want to change the subdomain for one of them, you can do this+using the `change_realm_subdomain` [management command][management-commands].[zulip-settings]: https://zulip.readthedocs.io/en/stable/production/settings.html[zulip-multiple-organizations]: https://zulip.readthedocs.io/en/stable/production/multiple-organizations.html-[management-shell]: https://zulip.readthedocs.io/en/stable/production/management-commands.html#manage-py-shell-[find-string-id]: https://zulip.readthedocs.io/en/stable/production/management-commands.html#accessing-an-organization-s-string-id+[management-commands]: https://zulip.readthedocs.io/en/latest/production/management-commands.html#other-useful-manage-py-commands