phase 6 ,7,9

This commit is contained in:
alorig
2025-11-18 05:52:10 +05:00
parent 9a6d47b91b
commit a6a80ad005
28 changed files with 2173 additions and 9 deletions

View File

@@ -0,0 +1,31 @@
# Generated manually for Phase 7: Prompt Management UI
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('system', '0007_add_module_enable_settings'),
]
operations = [
migrations.AlterField(
model_name='aiprompt',
name='prompt_type',
field=models.CharField(
choices=[
('clustering', 'Clustering'),
('ideas', 'Ideas Generation'),
('content_generation', 'Content Generation'),
('image_prompt_extraction', 'Image Prompt Extraction'),
('image_prompt_template', 'Image Prompt Template'),
('negative_prompt', 'Negative Prompt'),
('site_structure_generation', 'Site Structure Generation'),
],
db_index=True,
max_length=50
),
),
]

View File

@@ -20,6 +20,7 @@ class AIPrompt(AccountBaseModel):
('image_prompt_extraction', 'Image Prompt Extraction'),
('image_prompt_template', 'Image Prompt Template'),
('negative_prompt', 'Negative Prompt'),
('site_structure_generation', 'Site Structure Generation'), # Phase 7: Site Builder prompts
]
prompt_type = models.CharField(max_length=50, choices=PROMPT_TYPE_CHOICES, db_index=True)