from billing_app.models import Account from django.db import transaction print("Creating sample accounts...") with transaction.atomic(): for i in range(5): account = Account.objects.create() print(f"Created account: {account.uuid}") print("Sample accounts created successfully.")