ai fixes
This commit is contained in:
@@ -91,6 +91,11 @@ class Tasks(SiteSectorBaseModel):
|
||||
null=True,
|
||||
help_text="Comma-separated keywords for this task"
|
||||
)
|
||||
word_count = models.IntegerField(
|
||||
default=1000,
|
||||
validators=[MinValueValidator(100)],
|
||||
help_text="Target word count for content generation"
|
||||
)
|
||||
status = models.CharField(max_length=50, choices=STATUS_CHOICES, default='queued')
|
||||
|
||||
created_at = models.DateTimeField(auto_now_add=True)
|
||||
@@ -165,6 +170,10 @@ class Content(SiteSectorBaseModel):
|
||||
# Core content fields
|
||||
title = models.CharField(max_length=255, db_index=True)
|
||||
content_html = models.TextField(help_text="Final HTML content")
|
||||
word_count = models.IntegerField(
|
||||
default=0,
|
||||
help_text="Actual word count of content (calculated from HTML)"
|
||||
)
|
||||
cluster = models.ForeignKey(
|
||||
'planner.Clusters',
|
||||
on_delete=models.SET_NULL,
|
||||
|
||||
Reference in New Issue
Block a user