mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
streams: Set creator for some initial streams in populate_db.
This is a follow-up to #29425. It assigns creator to three streams that are used in tests and another two that aren't. For tests, we assign a guest, an admin and an owner as creator.
This commit is contained in:
@@ -637,12 +637,13 @@ class Command(BaseCommand):
|
||||
]
|
||||
stream_dict: Dict[str, Dict[str, Any]] = {
|
||||
"Denmark": {"description": "A Scandinavian country"},
|
||||
"Scotland": {"description": "Located in the United Kingdom"},
|
||||
"Venice": {"description": "A northeastern Italian city"},
|
||||
"Scotland": {"description": "Located in the United Kingdom", "creator": iago},
|
||||
"Venice": {"description": "A northeastern Italian city", "creator": polonius},
|
||||
"Rome": {"description": "Yet another Italian city", "is_web_public": True},
|
||||
"core team": {
|
||||
"description": "A private channel for core team members",
|
||||
"invite_only": True,
|
||||
"creator": desdemona,
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1001,13 +1002,14 @@ class Command(BaseCommand):
|
||||
"devel": {"description": "For developing"},
|
||||
# ビデオゲーム - VideoGames (japanese)
|
||||
"ビデオゲーム": {
|
||||
"description": f"Share your favorite video games! {raw_emojis[2]}"
|
||||
"description": f"Share your favorite video games! {raw_emojis[2]}",
|
||||
"creator": shiva,
|
||||
},
|
||||
"announce": {
|
||||
"description": "For announcements",
|
||||
"stream_post_policy": Stream.STREAM_POST_POLICY_ADMINS,
|
||||
},
|
||||
"design": {"description": "For design"},
|
||||
"design": {"description": "For design", "creator": hamlet},
|
||||
"support": {"description": "For support"},
|
||||
"social": {"description": "For socializing"},
|
||||
"test": {"description": "For testing `code`"},
|
||||
|
Reference in New Issue
Block a user