This commit is contained in:
IGNY8 VPS (Salman)
2025-11-26 19:14:30 +00:00
parent f88aae78b1
commit 94a8aee0e2
12 changed files with 889 additions and 53 deletions

View File

@@ -0,0 +1,23 @@
# Generated manually on 2025-11-26
from django.db import migrations, models
import django.core.validators
class Migration(migrations.Migration):
dependencies = [
('writer', '0008_field_rename_implementation'),
]
operations = [
migrations.AddField(
model_name='tasks',
name='word_count',
field=models.IntegerField(
default=1000,
validators=[django.core.validators.MinValueValidator(100)],
help_text='Target word count for content generation'
),
),
]

View File

@@ -25,6 +25,7 @@ class TasksSerializer(serializers.ModelSerializer):
'content_type',
'content_structure',
'taxonomy_term_id',
'word_count',
'status',
'sector_name',
'site_id',
@@ -171,6 +172,7 @@ class ContentSerializer(serializers.ModelSerializer):
'external_url',
'source',
'status',
'word_count',
'sector_name',
'site_id',
'sector_id',