ai fixes
This commit is contained in:
@@ -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'
|
||||
),
|
||||
),
|
||||
]
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user