mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
Docs on Designing URLs for your plugin - closes #1053
This commit is contained in:
parent
89519f9a37
commit
d6f9ff7137
3 changed files with 34 additions and 0 deletions
|
|
@ -556,6 +556,8 @@ 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).
|
||||
|
||||
See :ref:`writing_plugins_designing_urls` for tips on designing the URL routes used by your plugin.
|
||||
|
||||
Examples: `datasette-auth-github <https://github.com/simonw/datasette-auth-github>`__, `datasette-psutil <https://github.com/simonw/datasette-psutil>`__
|
||||
|
||||
.. _plugin_register_facet_classes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue