Skip to content

Commit f5df210

Browse files
auvipyCopilot
andauthored
Update django_celery_results/models.py
Co-authored-by: Copilot <[email protected]>
1 parent d078866 commit f5df210

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

django_celery_results/models.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,8 @@ class ChordCounter(models.Model):
149149
help_text=_("Celery ID for the Chord header group"),
150150
)
151151
sub_tasks = models.JSONField(
152-
default=None,
152+
null=True,
153+
default=list,
153154
help_text=_(
154155
"JSON serialized list of task result tuples. "
155156
"use .group_result() to decode"

0 commit comments

Comments
 (0)