Example for register_commands, refs #1449

This commit is contained in:
Simon Willison 2021-08-28 04:17:03 -07:00 committed by GitHub
commit 67cbf0ae72
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -80,7 +80,6 @@ You can now use this filter in your custom templates like so::
Table name: {{ table|uppercase }}
.. _plugin_hook_extra_template_vars:
extra_template_vars(template, database, table, columns, view_name, request, datasette)
@ -632,6 +631,8 @@ Note that ``register_commands()`` plugins cannot used with the :ref:`--plugins-d
pip install -e path/to/my/datasette-plugin
Example: `datasette-verify <https://datasette.io/plugins/datasette-verify>`_
.. _plugin_register_facet_classes:
register_facet_classes()