From 7b32d5f7d83e8373e52ceef6198a6737b2c10f71 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 7 Mar 2024 00:11:14 -0500 Subject: [PATCH] datasette-create-view as example of query_actions hook --- docs/plugin_hooks.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/plugin_hooks.rst b/docs/plugin_hooks.rst index 4f77d75c..91db80f8 100644 --- a/docs/plugin_hooks.rst +++ b/docs/plugin_hooks.rst @@ -1576,6 +1576,8 @@ This example adds a new query action linking to a page for explaining a query: }, ] +Example: `datasette-create-view `_ + .. _plugin_hook_database_actions: database_actions(datasette, actor, database, request)