From 9c2bdd88671f808daf236f66f4848d4d660979e1 Mon Sep 17 00:00:00 2001 From: Ofer Nave Date: Mon, 16 May 2022 18:39:07 -0400 Subject: [PATCH] add JSONField support --- mixer/backend/django.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mixer/backend/django.py b/mixer/backend/django.py index 97cd3de..eace281 100644 --- a/mixer/backend/django.py +++ b/mixer/backend/django.py @@ -95,6 +95,7 @@ class GenFactory(BaseFactory): models.GenericIPAddressField: t.IPString, models.IPAddressField: t.IP4String, models.IntegerField: int, + models.JSONField: t.JSON, models.PositiveSmallIntegerField: t.PositiveSmallInteger, models.SmallIntegerField: t.SmallInteger, models.TextField: t.Text,