Fixed broken rST link

This commit is contained in:
Simon Willison 2020-08-11 22:11:08 -07:00 committed by GitHub
commit 309d7191a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -961,7 +961,7 @@ forbidden(datasette, request, message)
``message`` - string
A message hinting at why the request was forbidden.
Plugins can use this to customize how Datasette responds when a 403 Forbidden error occurs - usually because a page failed a permission check, see :authentication_permissions:.
Plugins can use this to customize how Datasette responds when a 403 Forbidden error occurs - usually because a page failed a permission check, see :ref:`authentication_permissions`.
If a plugin hook wishes to react to the error, it should return a :ref:`Response object <internals_response>`.