diff --git a/startup_scripts/000_users.py b/startup_scripts/000_users.py index 1435d81..ef68da8 100644 --- a/startup_scripts/000_users.py +++ b/startup_scripts/000_users.py @@ -13,6 +13,12 @@ for username, user_details in users.items(): user = User.objects.create_user( username=username, password=user_details.get("password", 0) or User.objects.make_random_password(), + first_name=user_details.get("first_name", "no-name"), + last_name=user_details.get("last_name", "no-lastname"), + email=user_details.get("email", "none"), + is_staff=user_details.get("is_staff", False), + is_active=user_details.get("is_active", False), + is_superuser=user_details.get("is_superuser", False), ) print("👤 Created user", username)