mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Apply blacken-docs
This commit is contained in:
parent
868d34d7b9
commit
5cac74c4ac
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,
|
secure=False,
|
||||||
httponly=False,
|
httponly=False,
|
||||||
samesite="lax",
|
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>`:
|
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,
|
||||||
about_url,
|
about_url,
|
||||||
api_key,
|
api_key,
|
||||||
):
|
): ...
|
||||||
...
|
|
||||||
|
|
||||||
Examples: `datasette-publish-fly <https://datasette.io/plugins/datasette-publish-fly>`_, `datasette-publish-vercel <https://datasette.io/plugins/datasette-publish-vercel>`_
|
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