mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
/-/plugins now shows details of hooks, closes #794
Also added /-/plugins?all=1 parameter to see default plugins.
This commit is contained in:
parent
5278c04682
commit
a7137dfe06
4 changed files with 64 additions and 12 deletions
|
|
@ -49,6 +49,7 @@ def get_plugins():
|
|||
"name": plugin.__name__,
|
||||
"static_path": static_path,
|
||||
"templates_path": templates_path,
|
||||
"hooks": [h.name for h in pm.get_hookcallers(plugin)],
|
||||
}
|
||||
distinfo = plugin_to_distinfo.get(plugin)
|
||||
if distinfo:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue