mirror of https://github.com/zulip/zulip.git
6c888977a6
When changing the subdomain of a realm, create a deactivated realm with the old subdomain of the realm, and set its deactivated_redirect to the new subdomain. Doing this will help us to do the following: - When a user visits the old subdomain of a realm, we can tell the user that the realm has been moved. - During the registration process, we can assure that the old subdomain of the realm is not used to create a new realm. If the subdomain is changed multiple times, the deactivated_redirect fields of all the deactivated realms are updated to point to the new uri. |
||
---|---|---|
.. | ||
__init__.py | ||
test_counts.py | ||
test_fixtures.py | ||
test_views.py |