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

{% translate "Playground" %}

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

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