zulip/analytics/tests
Siddharth Asthana 6c888977a6 change_subdomain: Create a deactivated realm on updating subdomain.
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.
2021-01-07 14:15:22 -08:00
..
__init__.py
test_counts.py analytics: Make last_successful_fill handle FillState.STARTED case properly. 2020-12-22 16:44:31 -08:00
test_fixtures.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_views.py change_subdomain: Create a deactivated realm on updating subdomain. 2021-01-07 14:15:22 -08:00