mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
datasette-leaflet-freedraw is an example of filters_from_request
This commit is contained in:
parent
d0f24f9bbc
commit
0c91e59d2b
1 changed files with 2 additions and 0 deletions
|
|
@ -976,6 +976,8 @@ This example plugin causes 0 results to be returned if ``?_nothing=1`` is added
|
|||
if request.args.get("_nothing"):
|
||||
return FilterArguments(["1 = 0"], human_descriptions=["NOTHING"])
|
||||
|
||||
Example: `datasette-leaflet-freedraw <https://datasette.io/plugins/datasette-leaflet-freedraw>`_
|
||||
|
||||
.. _plugin_hook_permission_allowed:
|
||||
|
||||
permission_allowed(datasette, actor, action, resource)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue