Switches task serialization over to pickle format

This commit is contained in:
Trenton H committed 2022-12-12 15:37:01 -08:00
1 parent b0625cdced
commit 97d6503fef
6 files changed
+109 -69

No files matched your search

-14
View File
@@ -560,20 +560,6 @@ class PaperlessTask(models.Model):
help_text=_("Name of the Task which was run"),
)
task_args = models.JSONField(
null=True,
verbose_name=_("Task Positional Arguments"),
help_text=_(
"JSON representation of the positional arguments used with the task",
),
)
task_kwargs = models.JSONField(
null=True,
verbose_name=_("Task Named Arguments"),
help_text=_(
"JSON representation of the named arguments used with the task",
),
)
status = models.CharField(
max_length=30,
default=states.PENDING,