quantum-ai/apps/agents/migrations/0001_initial.py
Claude 3fc5f01309 Initial Django project setup with working homepage
- Complete Django project structure with apps/ organization
- Working homepage with exact Next.js recreation (1039 lines)
- User authentication system with wallet balance
- Agent system with processors and models
- Stripe payment integration setup
- All Django migrations and URL routing
- Comprehensive .gitignore file
- Homepage loads successfully (HTTP 200)

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-08 16:30:56 +05:30

33 lines
1.3 KiB
Python

# Generated by Django 5.2.4 on 2025-07-08 08:17
from decimal import Decimal
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='Agent',
fields=[
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('name', models.CharField(max_length=200)),
('slug', models.SlugField(unique=True)),
('description', models.TextField()),
('category', models.CharField(choices=[('analytics', 'Analytics'), ('utilities', 'Utilities'), ('content', 'Content'), ('marketing', 'Marketing'), ('customer-service', 'Customer Service')], max_length=50)),
('price', models.DecimalField(decimal_places=2, max_digits=10)),
('icon', models.CharField(default='🤖', max_length=10)),
('is_active', models.BooleanField(default=True)),
('rating', models.DecimalField(decimal_places=1, default=Decimal('4.5'), max_digits=3)),
('review_count', models.IntegerField(default=0)),
('n8n_webhook_url', models.URLField(blank=True)),
('created_at', models.DateTimeField(auto_now_add=True)),
],
),
]