mirror of
https://github.com/simonw/datasette.git
synced 2026-06-10 11:06:58 +02:00
view_actions plugin hook, closes #2297
This commit is contained in:
parent
daf5ca02ca
commit
909c85cd2b
7 changed files with 85 additions and 21 deletions
|
|
@ -145,6 +145,11 @@ def table_actions(datasette, actor, database, table, request):
|
|||
"""Links for the table actions menu"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def view_actions(datasette, actor, database, view, request):
|
||||
"""Links for the view actions menu"""
|
||||
|
||||
|
||||
@hookspec
|
||||
def query_actions(datasette, actor, database, query_name, request, sql, params):
|
||||
"""Links for the query and canned query actions menu"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue