initialize_local_serverd_db: Create the realm for ADMIN_DOMAIN.

(imported from commit e13e73e54871c106cd4fd465b74c645657899dce)
This commit is contained in:
Tim Abbott 2013-11-10 11:23:17 -05:00
parent 5f7c530285
commit 96918e30f9
1 changed files with 1 additions and 0 deletions

View File

@ -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