Skip to content

Commit

Permalink
Example for register_commands, refs #1449
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw authored Aug 28, 2021
1 parent 50c35b6 commit 67cbf0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/plugin_hooks.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 67cbf0a

Please sign in to comment.