mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Ran blacken-docs
This commit is contained in:
parent
04e8835297
commit
959e020297
2 changed files with 2 additions and 4 deletions
|
|
@ -210,8 +210,7 @@ To set cookies on the response, use the ``response.set_cookie(...)`` method. The
|
|||
secure=False,
|
||||
httponly=False,
|
||||
samesite="lax",
|
||||
):
|
||||
...
|
||||
): ...
|
||||
|
||||
You can use this with :ref:`datasette.sign() <datasette_sign>` to set signed cookies. Here's how you would set the :ref:`ds_actor cookie <authentication_ds_actor>` for use with Datasette :ref:`authentication <authentication>`:
|
||||
|
||||
|
|
|
|||
|
|
@ -373,8 +373,7 @@ Let's say you want to build a plugin that adds a ``datasette publish my_hosting_
|
|||
about,
|
||||
about_url,
|
||||
api_key,
|
||||
):
|
||||
...
|
||||
): ...
|
||||
|
||||
Examples: `datasette-publish-fly <https://datasette.io/plugins/datasette-publish-fly>`_, `datasette-publish-vercel <https://datasette.io/plugins/datasette-publish-vercel>`_
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue