1
Fork 0
mirror of https://github.com/Steffo99/sophon.git synced 2024-12-23 07:14:21 +00:00

🔧 Allow settings field to be null

This commit is contained in:
Steffo 2021-04-05 01:41:57 +02:00
parent c7523e93ac
commit 3de54bce92
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -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):