mirror of
https://github.com/thecyberlearn/quantum-ai-v3.git
synced 2026-08-18 12:52:58 +00:00
Fix superuser creation - add required username field
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9aa144faf8
commit
5750675a9c
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user