From 96918e30f91a9769ebc523bf871b22448ed59d62 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Sun, 10 Nov 2013 11:23:17 -0500 Subject: [PATCH] initialize_local_serverd_db: Create the realm for ADMIN_DOMAIN. (imported from commit e13e73e54871c106cd4fd465b74c645657899dce) --- zerver/management/commands/initialize_local_server_db.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zerver/management/commands/initialize_local_server_db.py b/zerver/management/commands/initialize_local_server_db.py index 9674d0e8fc..1e7281d679 100644 --- a/zerver/management/commands/initialize_local_server_db.py +++ b/zerver/management/commands/initialize_local_server_db.py @@ -38,6 +38,7 @@ class Command(BaseCommand): def handle(self, **options): zulip_realm = Realm.objects.create(domain="zulip.com") + Realm.objects.create(domain=settings.ADMIN_DOMAIN) realms = {} for realm in Realm.objects.all(): realms[realm.domain] = realm