mirror of https://github.com/zulip/zulip.git
initialize_local_serverd_db: Create the realm for ADMIN_DOMAIN.
(imported from commit e13e73e54871c106cd4fd465b74c645657899dce)
This commit is contained in:
parent
5f7c530285
commit
96918e30f9
|
@ -38,6 +38,7 @@ class Command(BaseCommand):
|
||||||
|
|
||||||
def handle(self, **options):
|
def handle(self, **options):
|
||||||
zulip_realm = Realm.objects.create(domain="zulip.com")
|
zulip_realm = Realm.objects.create(domain="zulip.com")
|
||||||
|
Realm.objects.create(domain=settings.ADMIN_DOMAIN)
|
||||||
realms = {}
|
realms = {}
|
||||||
for realm in Realm.objects.all():
|
for realm in Realm.objects.all():
|
||||||
realms[realm.domain] = realm
|
realms[realm.domain] = realm
|
||||||
|
|
Loading…
Reference in New Issue