populate_db: Set a description for the default realm.

This commit is contained in:
Tim Abbott 2017-04-17 21:58:30 -07:00
parent 2e1d9b7e95
commit 8ae052a9d8
1 changed files with 1 additions and 0 deletions

View File

@ -124,6 +124,7 @@ class Command(BaseCommand):
# welcome-bot (needed for do_create_realm) hasn't been created yet # welcome-bot (needed for do_create_realm) hasn't been created yet
zulip_realm = Realm.objects.create( zulip_realm = Realm.objects.create(
string_id="zulip", name="Zulip Dev", restricted_to_domain=True, string_id="zulip", name="Zulip Dev", restricted_to_domain=True,
description="The Zulip development environment default organization. It's great for testing!",
invite_required=False, org_type=Realm.CORPORATE) invite_required=False, org_type=Realm.CORPORATE)
RealmDomain.objects.create(realm=zulip_realm, domain="zulip.com") RealmDomain.objects.create(realm=zulip_realm, domain="zulip.com")
if options["test_suite"]: if options["test_suite"]: