From 3e7e0bff081999e8b999f80cc7c7978490d0bd89 Mon Sep 17 00:00:00 2001 From: Katherine Michel Date: Sun, 17 May 2020 00:09:54 -0500 Subject: [PATCH] Update JSONField --- pinax/eventlog/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pinax/eventlog/models.py b/pinax/eventlog/models.py index 04bac0d..7c23eeb 100644 --- a/pinax/eventlog/models.py +++ b/pinax/eventlog/models.py @@ -25,7 +25,7 @@ class Log(models.Model): content_type = models.ForeignKey(ContentType, null=True, on_delete=models.SET_NULL) object_id = models.PositiveIntegerField(null=True) obj = GenericForeignKey("content_type", "object_id") - extra = JSONField(encoder=DjangoJSONEncoder) + extra = JSONField(DjangoJSONEncoder) @property def template_fragment_name(self):