This commit is contained in:
IGNY8 VPS (Salman)
2025-11-26 12:23:28 +00:00
parent 1cbc347cdc
commit d7533934b8
7 changed files with 845 additions and 330 deletions

View File

@@ -212,8 +212,8 @@ class GenerateIdeasFunction(BaseAIFunction):
ContentIdeas.objects.create(
idea_title=idea_data.get('title', 'Untitled Idea'),
description=description,
content_type=idea_data.get('content_type', 'blog_post'),
content_structure=idea_data.get('content_structure', 'supporting_page'),
content_type=idea_data.get('content_type', 'post'), # Updated: blog_post → post
content_structure=idea_data.get('content_structure', 'article'), # Updated: supporting_page → article
target_keywords=target_keywords,
keyword_cluster=cluster,
estimated_word_count=idea_data.get('estimated_word_count', 1500),