{{ heading }}
{# Request metadata — method, path, and HTTP version #} {% if request is defined and request %} {% endif %} {# Red error label — exception class name or short error string #} {% if error_label is defined and error_label %} {{ error_label }} {% endif %} {# Body message #} {% if body %}{{ body }}
{% endif %} {# Expandable exception block with sticky toolbar + copy button #} {% if exception is defined and exception %}{{ exception.__class__.__name__ | to_spaced_camel_case | default("Exception") }}
{% if exception.__traceback__ %}{{ expand_exception(exception) | default("Traceback not retrievable") }}
DEBUG=True is set.
Switch to DEBUG=False to show the standard response.