diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-17 16:57:21 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2018-09-17 16:57:21 +0200 |
commit | 49109e55a37f9ee6e345372a92080562bd3b18e3 (patch) | |
tree | b0f50f4fd5ee700714784011227c3c7202a3425f /ishtar_common/forms.py | |
parent | baf73923f82030c50e32ad57d276dc1f956e38ad (diff) | |
download | Ishtar-49109e55a37f9ee6e345372a92080562bd3b18e3.tar.bz2 Ishtar-49109e55a37f9ee6e345372a92080562bd3b18e3.zip |
Manage boolean type for JSON fields (refs #4235)
Diffstat (limited to 'ishtar_common/forms.py')
-rw-r--r-- | ishtar_common/forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ishtar_common/forms.py b/ishtar_common/forms.py index 3ecec9b06..eec66e1a6 100644 --- a/ishtar_common/forms.py +++ b/ishtar_common/forms.py @@ -116,6 +116,7 @@ JSON_VALUE_TYPES_FIELDS = { 'I': (forms.IntegerField, None), 'F': (forms.FloatField, None), 'D': (DateField, None), + 'B': (forms.NullBooleanField, None), 'C': (widgets.Select2DynamicField, None), } |