datasette/datasette
Simon Willison b2955d9065
New --plugins-dir=plugins/ option (#212)
* New --plugins-dir=plugins/ option

New option causing Datasette to load and evaluate all of the Python files in
the specified directory and register any plugins that are defined in those
files.

This new option is available for the following commands:

    datasette serve mydb.db --plugins-dir=plugins/
    datasette publish now/heroku mydb.db --plugins-dir=plugins/
    datasette package mydb.db --plugins-dir=plugins/

* Unit tests for --plugins-dir=plugins/

Closes #211
2018-04-15 22:22:01 -07:00
..
static Ability to sort using form fields (for mobile portrait mode) 2018-04-09 17:34:32 -07:00
templates Better mechanism for handling errors; 404s for missing table/database 2018-04-13 11:17:22 -07:00
__init__.py Start of the plugin system, based on pluggy (#210) 2018-04-15 17:56:15 -07:00
app.py New --plugins-dir=plugins/ option (#212) 2018-04-15 22:22:01 -07:00
cli.py New --plugins-dir=plugins/ option (#212) 2018-04-15 22:22:01 -07:00
hookspecs.py Start of the plugin system, based on pluggy (#210) 2018-04-15 17:56:15 -07:00
utils.py New --plugins-dir=plugins/ option (#212) 2018-04-15 22:22:01 -07:00
version.py Releasing v0.18 - support for units! 2018-04-14 08:36:10 -07:00