mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Use cog to maintain default plugin list in plugins.rst, closes #1600
Also fixed a bug I spotted where datasette.filters showed the same hook three times.
This commit is contained in:
parent
14e320329f
commit
43c30ce023
2 changed files with 91 additions and 8 deletions
|
|
@ -770,7 +770,7 @@ class Datasette:
|
|||
"static": p["static_path"] is not None,
|
||||
"templates": p["templates_path"] is not None,
|
||||
"version": p.get("version"),
|
||||
"hooks": p["hooks"],
|
||||
"hooks": list(set(p["hooks"])),
|
||||
}
|
||||
for p in ps
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue