From 5750675a9c0faddbf6f13d750901ef881ddae18f Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 12 Jul 2025 05:14:22 +0530 Subject: [PATCH] Fix superuser creation - add required username field MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- agent_base/management/commands/populate_agents.py | 1 + 1 file changed, 1 insertion(+) diff --git a/agent_base/management/commands/populate_agents.py b/agent_base/management/commands/populate_agents.py index 33b4d15..f5b4102 100644 --- a/agent_base/management/commands/populate_agents.py +++ b/agent_base/management/commands/populate_agents.py @@ -14,6 +14,7 @@ class Command(BaseCommand): # Create superuser if it doesn't exist if not User.objects.filter(is_superuser=True).exists(): User.objects.create_superuser( + username='admin', email='admin@netcop.ai', password='admin123', first_name='Admin',