diff --git a/docs/custom_templates.rst b/docs/custom_templates.rst index 4e60616c..425fd09a 100644 --- a/docs/custom_templates.rst +++ b/docs/custom_templates.rst @@ -50,10 +50,14 @@ The index template (the top level page at /) gets this:: -The database template (/dbname/) gets this:: +The database template (/dbname) gets this:: +The custom SQL template (/dbname?sql=...) gets this:: + + + The table template (/dbname/tablename) gets:: @@ -104,6 +108,10 @@ The lookup rules Datasette uses are as follows:: database-mydatabase.html database.html + Custom query page (/mydatabase?sql=...): + query-mydatabase.html + query.html + Table page (/mydatabase/mytable): table-mydatabase-mytable.html table.html