From 851ca4cc74f362db491345bd3ed46648ba976ce3 Mon Sep 17 00:00:00 2001 From: Mauro Date: Sun, 4 Apr 2021 23:57:52 -0300 Subject: [PATCH] Replaces NullBoolean with Boolean (closes: #56) --- eav/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eav/models.py b/eav/models.py index 6975cd8..82a2605 100644 --- a/eav/models.py +++ b/eav/models.py @@ -381,7 +381,7 @@ class Value(models.Model): value_float = models.FloatField(blank = True, null = True) value_int = models.IntegerField(blank = True, null = True) value_date = models.DateTimeField(blank = True, null = True) - value_bool = models.NullBooleanField(blank = True, null = True) + value_bool = models.BooleanField(blank = True, null = True) value_enum = models.ForeignKey( EnumValue,