{% extends "base.html" %} {% block title %}{{ request.path }} template context{% endblock %} {% block extra_head %} {% endblock %} {# The messages block would consume messages intended for the real page #} {% block messages %}{% endblock %} {% block content %}
{{ request.path }} template context{{ debug_template_name }}{{ name }}{% if not loop.last %}, {% endif %}{% endfor %}
(* marks the one that was used)
{{ debug_context_class }}{% else %}none - this page passes a plain dictionary, so its variables are not documented{% endif %}{{ section.intro }}
{% endif %} {% if section.unstable %}Not a stable contract. {{ request.path }} is one of Datasette's debugging tools. The variables it passes to its template are documented here for reference, but a custom template that uses them may break in any future Datasette release.
{{ variable.snippet }}
{{ variable.help }}
{% endif %} {% if variable.kind == "function" %}{% if variable.is_async %}async {% endif %}{{ variable.name }}{{ variable.signature }}
{% if variable.doc %}{{ variable.doc }}{% endif %}
{% else %}
{% if variable.kind == "object" and variable.doc %}{{ variable.doc }}{% endif %}
{% if variable.collapsed %}
{{ variable.value }}
{{ variable.value }}
{% endif %}
{% if variable.truncated %}
Showing the first {{ "{:,}".format(variable.value|length) }} characters. The JSON version has the full value.
{% endif %} {% if variable.members %}{% if member.is_async %}async {% endif %}{{ variable.name }}.{{ member.name }}{{ member.signature }}
{% if member.doc %}{{ member.doc }}{% endif %}
Not every member is listed.
{% endif %}