{% if "querystats" in request.session %} {% else %}
{{ csrf_input }}
{% endif %}