From 1982966d304ca0fb3ace122bd715f88a7b40b5b0 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Mon, 5 Apr 2021 01:41:57 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Allow=20settings=20field=20to=20?= =?UTF-8?q?be=20null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sophon/core/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sophon/core/models.py b/sophon/core/models.py index 39dbf7b..07f9225 100644 --- a/sophon/core/models.py +++ b/sophon/core/models.py @@ -16,7 +16,7 @@ class DataSource(models.Model): pandasdmx_id = models.CharField("Internal pandasdmx source id", max_length=16, primary_key=True) builtin = models.BooleanField("If the source is builtin in pandasdmx") - settings = models.JSONField("Source info to pass to pandasdmx if the source is not builtin") + settings = models.JSONField("Source info to pass to pandasdmx if the source is not builtin", null=True) class Project(models.Model):