mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
parent
6aa516d82d
commit
2aaad72789
3 changed files with 36 additions and 35 deletions
|
|
@ -36,7 +36,7 @@ This method lets you read plugin configuration values that were set in ``metadat
|
|||
``template`` - string
|
||||
The template file to be rendered, e.g. ``my_plugin.html``. Datasette will search for this file first in the ``--template-dir=`` location, if it was specified - then in the plugin's bundled templates and finally in Datasette's set of default templates.
|
||||
|
||||
``conttext`` - None or a Python dictionary
|
||||
``context`` - None or a Python dictionary
|
||||
The context variables to pass to the template.
|
||||
|
||||
``request`` - request object or None
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue