datasette/tests/plugins
Claude 9272290ad8
Fix 500 on /db/-/query with no sql, closes #2743
Visiting /<database>/-/query without ?sql= was reaching
derive_named_parameters(None), validate_sql_select(None) and the CSV
fetch path with sql=None. Skip those blocks when sql is empty so the
SQL editor form renders. Also guard the template fallback for
databases with no tables, and update the test plugin's query_actions
hook so it tolerates sql=None.
2026-05-25 19:28:58 +00:00
..
messages_output_renderer.py Flash messages mechanism, closes #790 2020-06-02 14:12:18 -07:00
my_plugin.py Fix 500 on /db/-/query with no sql, closes #2743 2026-05-25 19:28:58 +00:00
my_plugin_2.py Fix startup hook to fire after metadata and schema tables are populated (#2666) 2026-03-16 17:56:40 -07:00
register_output_renderer.py register_output_renderer can now return Response, closes #953 2020-08-27 21:02:50 -07:00
sleep_sql_function.py Remove undocumented sqlite_functions mechanism, closes #1567 2021-12-17 17:54:39 -08:00
view_name.py Refactored test plugins into tests/plugins, closes #775 2020-05-27 17:57:25 -07:00