quantum-ai-v2/tests/check_agents.py
Claude 8e3cf451a1 Rebrand platform from NetCop Hub to Quantum Tasks AI
- Update domain configuration to quantumtaskai.com
- Change all page titles and branding across templates
- Update Stripe integration with new domain URLs
- Modify settings.py for new domain and cache prefixes
- Update project documentation and test files
- Change company name and contact information

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-25 22:21:45 +05:30

30 lines
791 B
Python

#!/usr/bin/env python
import os
import sys
import django
# Add the project root to Python path
sys.path.insert(0, '/home/amit/projects/quantumtaskai_django')
# Set Django settings
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'quantumtaskai_hub.settings')
django.setup()
from agent_base.models import BaseAgent
print("🔍 Checking agents in database:")
print("=" * 40)
agents = BaseAgent.objects.all()
if agents:
for agent in agents:
print(f"{agent.name} ({agent.slug})")
print(f" Category: {agent.category}")
print(f" Price: {agent.price} AED")
print(f" Type: {agent.agent_type}")
print(f" Active: {agent.is_active}")
print()
else:
print("❌ No agents found in database")
print(f"Total agents: {agents.count()}")