Don't create the MIT realm in the Dev VM.

(imported from commit 2e8122cfca87ace24f5048a6ecc57c8c5b3d101c)
This commit is contained in:
David Roe 2015-08-19 18:54:07 -07:00 committed by Tim Abbott
parent a9023935e4
commit 4bd93325de
1 changed files with 2 additions and 1 deletions

View File

@ -114,7 +114,8 @@ class Command(BaseCommand):
# Create our two default realms
zulip_realm = Realm.objects.create(domain="zulip.com")
Realm.objects.create(domain="mit.edu")
if options["test_suite"]:
Realm.objects.create(domain="mit.edu")
realms = {}
for realm in Realm.objects.all():
realms[realm.domain] = realm