{# edit_select_query.html #} {% extends "base.html" %} {% block content %} {% include "query_nav.html" %}
LIMIT n or
LIMIT start, n to limit the results, where
offset is numbered from 0 (not 1), and n is the
number of records to retrieve (so LIMIT 50 or
LIMIT 0, 50 retrieves the first 50 records, and
LIMIT 50, 50 retrieves the next 50).| Created at | Delete query | SQL | Active? | Choose this one |
|---|---|---|---|---|
| {{ query.created }} | {% include "action_only_form.html" with action="delete_query" pk=query.id button="Delete" %} | {{ query.formatted_query_safe|safe }} | {% if query.active %}{% endif %} {{ query.active|yesno }} {% if query.active %}{% endif %} | {% if query.active %} (activated) {% else %} {% include "action_only_form.html" with action="activate_query" pk=query.id button="Choose" %} {% endif %} |