mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 05:23:35 +00:00
import_util: Remove uuid and uuid_owner_secret from realm dict.
This commit is contained in:
committed by
Tim Abbott
parent
73cc680289
commit
ff81e6bf32
@@ -87,6 +87,10 @@ def build_zerver_realm(
|
||||
)
|
||||
realm_dict = model_to_dict(realm)
|
||||
realm_dict["date_created"] = time
|
||||
# These fields are supposed to be generated upon import.
|
||||
del realm_dict["uuid"]
|
||||
del realm_dict["uuid_owner_secret"]
|
||||
|
||||
return [realm_dict]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user