mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +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:
@@ -201,7 +201,7 @@ def confirmation_url(
|
||||
url_args = dict(url_args)
|
||||
url_args["confirmation_key"] = confirmation_key
|
||||
return urljoin(
|
||||
settings.ROOT_DOMAIN_URI if realm is None else realm.uri,
|
||||
settings.ROOT_DOMAIN_URI if realm is None else realm.url,
|
||||
reverse(_properties[confirmation_type].url_name, kwargs=url_args),
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user