mirror of
https://github.com/Steffo99/sophon.git
synced 2024-12-22 23:04:21 +00:00
🔧 Use a JSONField for DataSource settings
This commit is contained in:
parent
4a8ca4b384
commit
c7523e93ac
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +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")
|
||||
|
||||
name = models.CharField("Full name of the data source", max_length=512)
|
||||
documentation_url = models.URLField("Documentation URL provided by the data source")
|
||||
api_url = models.URLField("API URL where the statistical data can be requested")
|
||||
settings = models.JSONField("Source info to pass to pandasdmx if the source is not builtin")
|
||||
|
||||
|
||||
class Project(models.Model):
|
||||
|
|
Loading…
Reference in a new issue