initialize_voyager_db: Fix zulip.com hardcoding.

This commit is contained in:
Tim Abbott 2016-08-22 21:36:15 -07:00
parent 55d7947b76
commit 3bdbc33e94
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ class Command(BaseCommand):
def handle(self, *args, **options):
# type: (*Any, **Any) -> None
Realm.objects.create(domain="zulip.com")
Realm.objects.create(domain=settings.INTERNAL_BOT_DOMAIN)
names = [(settings.FEEDBACK_BOT_NAME, settings.FEEDBACK_BOT)]
create_users(names, bot_type=UserProfile.DEFAULT_BOT)