{% extends "explorer/base.html" %} {% load explorer_tags i18n %} {% block sql_explorer_content %}

{% trans "Playground" %}

{% blocktrans trimmed %} The playground is for experimenting and writing ad-hoc queries. By default, nothing you do here will be saved. {% endblocktrans %}

{% csrf_token %} {% if error %}
{{ error|escape }}
{% endif %} {{ form.non_field_errors }} {% if form.connections|length > 1 and can_change %}
{{ form.connection }}
{% else %} {# still need to submit the connection, just hide the UI element #} {% endif %}
{% if ql_id %} {% endif %}
{% export_buttons query %}
{% if assistant_enabled %} {% include 'explorer/assistant.html' %} {% endif %}
{% include 'explorer/preview_pane.html' %} {% endblock %}