Open simonw opened 1 month ago
Instead of providing a datasette.yml file (or a metadata.json) file, this plugin could support having DATASETTE_CONFIG = {} and DATASETTE_METADATA = {...} options in Django's settings.py which are then picked up by the Datasette() constructor.
datasette.yml
metadata.json
DATASETTE_CONFIG = {}
DATASETTE_METADATA = {...}
settings.py
Datasette()
Instead of providing a
datasette.yml
file (or ametadata.json
) file, this plugin could support havingDATASETTE_CONFIG = {}
andDATASETTE_METADATA = {...}
options in Django'ssettings.py
which are then picked up by theDatasette()
constructor.