mirror of
https://github.com/zulip/zulip.git
synced 2025-11-11 17:36:27 +00:00
models: Remove Realm.domain.
This commit is contained in:
@@ -2058,10 +2058,7 @@ def do_create_realm(string_id, name, restricted_to_domain=None,
|
||||
kwargs['invite_required'] = invite_required
|
||||
if org_type is not None:
|
||||
kwargs['org_type'] = org_type
|
||||
# General a value for domain that we control
|
||||
domain = string_id + "." + settings.EXTERNAL_HOST
|
||||
realm = Realm(string_id=string_id, name=name,
|
||||
domain=domain, **kwargs)
|
||||
realm = Realm(string_id=string_id, name=name, **kwargs)
|
||||
realm.save()
|
||||
|
||||
# Create stream once Realm object has been saved
|
||||
|
||||
Reference in New Issue
Block a user