From 9d23d59b93a2687ce3755b4bb74d500a6645b1f1 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 29 Feb 2024 18:19:34 +0100 Subject: [PATCH] create test users for all instances --- idhub/management/commands/initial_datas.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/idhub/management/commands/initial_datas.py b/idhub/management/commands/initial_datas.py index e8abf19..692564e 100644 --- a/idhub/management/commands/initial_datas.py +++ b/idhub/management/commands/initial_datas.py @@ -25,10 +25,10 @@ class Command(BaseCommand): ADMIN_PASSWORD = config('ADMIN_PASSWORD', '1234') self.create_admin_users(ADMIN_EMAIL, ADMIN_PASSWORD) - if settings.CREATE_TEST_USERS: - for u in range(1, 6): - user = 'user{}@example.org'.format(u) - self.create_users(user, '1234') + # if settings.CREATE_TEST_USERS: + for u in range(1, 6): + user = 'user{}@example.org'.format(u) + self.create_users(user, '1234') BASE_DIR = Path(__file__).resolve().parent.parent.parent.parent ORGANIZATION = os.path.join(BASE_DIR, settings.ORG_FILE)