From fe9765962b1e49cf3d5c561c7893787e6cf384af Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 14 Mar 2019 21:24:06 -0700 Subject: [PATCH] /dbname-hash now optional: turn on with --config hash_urls:1 --- datasette/templates/query.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasette/templates/query.html b/datasette/templates/query.html index 9416e225..46aac76f 100644 --- a/datasette/templates/query.html +++ b/datasette/templates/query.html @@ -25,7 +25,7 @@ {% block description_source_license %}{% include "_description_source_license.html" %}{% endblock %} -
+

Custom SQL query{% if display_rows %} returning {% if truncated %}more than {% endif %}{{ "{:,}".format(display_rows|length) }} row{% if display_rows|length == 1 %}{% else %}s{% endif %}{% endif %} {% if hide_sql %}(show){% else %}(hide){% endif %}

{% if not hide_sql %} {% if editable and config.allow_sql %}