{% tailwind_css %}
{% for log in requestlogs %} {% else %} {% endfor %} {% if requestlogs %} {% endif %}
{% if log.response.status_code >= 400 %} {{ log.response.status_code }} {% elif log.response.status_code >= 300 %} {{ log.response.status_code }} {% else %} {{ log.response.status_code }} {% endif %} {{ log.request.method }} {{ log.request.full_path }} {{ log.timestamp|strftime("%H:%M:%S") }}
No logs yet!
{{ csrf_input }}
{% if requestlog %}
{% with request=requestlog.request %}

{{ request.method }} {{ request.full_path }}

{{ csrf_input }}
{% if requestlog.exception %}

{{ requestlog.exception.type }} Exception


            {{- requestlog.exception.str -}}
            

            {{- requestlog.exception.args -}}
            

            {{- requestlog.exception.traceback -}}
            
{% endif %} {% if request.querydict %}
{% for key, value in request.querydict.items() %}
{{ key }}
{{ value or "(Empty)" }}
{% endfor %}
{% endif %}
{% for key, value in request.headers.items() %}
{{ key }}
{{ value or "(Empty)" }}
{% endfor %}
{% if "body_json" in request %}
{{ request.body_json }}
{% else %}
{{ request.body or "(Empty)" }}
{% endif %} {% endwith %} {% with response=requestlog.response %}

HTTP {{ response.status_code }}

{% for key, value in response.headers.items() %}
{{ key }}
{{ value or "(Empty)" }}
{% endfor %}
{{ response.content or "(Empty)" }}
{% endwith %}
{% endif %}