1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-22 06:44:21 +00:00

🔧 Allow settings field to be null

This commit is contained in:
Steffo 2021-04-05 01:41:57 +02:00
parent ce8a5f722d
commit 1982966d30

View file

@ -16,7 +16,7 @@ class DataSource(models.Model):
pandasdmx_id = models.CharField("Internal pandasdmx source id", max_length=16, primary_key=True) pandasdmx_id = models.CharField("Internal pandasdmx source id", max_length=16, primary_key=True)
builtin = models.BooleanField("If the source is builtin in pandasdmx") 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): class Project(models.Model):