Link to request object documentation, refs #706

pull/783/head
Simon Willison 2020-05-27 15:35:25 -07:00
rodzic 50652f474b
commit 4b96857f17
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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)``