Fixes #19204: Use DjangoJSONEncoder for Job data (#19297)

This commit is contained in:
Jeremy Stretch
2025-04-23 16:57:48 -04:00
committed by GitHub
parent 0ce307c7fd
commit fbf926204e
2 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
import django.core.serializers.json
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('core', '0012_job_object_type_optional'),
]
operations = [
migrations.AlterField(
model_name='job',
name='data',
field=models.JSONField(blank=True, encoder=django.core.serializers.json.DjangoJSONEncoder, null=True),
),
]