mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
models: Replace realm.uri with realm.url.
In #23380, we are changing all occurrences of uri with url in order to follow the latest URL standard. Previous PRs #25038 and #25045 has replaced the occurences of uri that has no direct relation with realm. This commit changes just the model property, which has no API compatibility concerns.
This commit is contained in:
@@ -45,7 +45,7 @@ def fix_dummy_users(apps: StateApps, schema_editor: BaseDatabaseSchemaEditor) ->
|
||||
"""
|
||||
do_delete_users had two bugs:
|
||||
1. Creating the replacement dummy users with active=True
|
||||
2. Creating the replacement dummy users with email domain set to realm.uri,
|
||||
2. Creating the replacement dummy users with email domain set to realm.url,
|
||||
which may not be a valid email domain.
|
||||
Prior commits fixed the bugs, and this migration fixes the pre-existing objects.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user