Skip to content

Commit

Permalink
Link to request object documentation, refs #706
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed May 27, 2020
1 parent 50652f4 commit 4b96857
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/plugins.rst
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ Extra template variables that should be made available in the rendered template
The name of the view being displayed. (`index`, `database`, `table`, and `row` are the most important ones.)

``request`` - object
The current HTTP request object. ``request.scope`` provides access to the ASGI scope.
The current HTTP :ref:`internals_request`.

``datasette`` - :ref:`internals_datasette`
You can use this to access plugin configuration options via ``datasette.plugin_config(your_plugin_name)``
Expand Down

0 comments on commit 4b96857

Please sign in to comment.