mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Link to request object documentation, refs #706
This commit is contained in:
parent
50652f474b
commit
4b96857f17
1 changed files with 1 additions and 1 deletions
|
|
@ -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)``
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue