mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Fixed spelling of "raise"
This commit is contained in:
parent
8a25ea9bca
commit
9b83ff2ee4
1 changed files with 1 additions and 1 deletions
|
|
@ -582,7 +582,7 @@ The view function can be a regular function or an ``async def`` function, depend
|
|||
|
||||
The function can either return a :ref:`internals_response` or it can return nothing and instead respond directly to the request using the ASGI ``send`` function (for advanced uses only).
|
||||
|
||||
It can also rase the ``datasette.NotFound`` exception to return a 404 not found error, or the ``datasette.Forbidden`` exception for a 403 forbidden.
|
||||
It can also raise the ``datasette.NotFound`` exception to return a 404 not found error, or the ``datasette.Forbidden`` exception for a 403 forbidden.
|
||||
|
||||
See :ref:`writing_plugins_designing_urls` for tips on designing the URL routes used by your plugin.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue