{% if not is_email %} {% endif %}

{% if exception_type %}{{ exception_type }}{% else %}Report{% endif %} {% if request %} at {{ request.path_info }}{% endif %}

{% if exception_value %}{{ exception_value|force_escape }}{% if exception_notes %}{{ exception_notes }}{% endif %}{% else %}No exception message supplied{% endif %}
{% if request %} {% endif %} {% if exception_type %} {% endif %} {% if exception_type and exception_value %} {% endif %} {% if lastframe %} {% endif %} {% if raising_view_name %} {% endif %}
Request Method: {{ request.META.REQUEST_METHOD }}
Request URL: {{ request_insecure_uri }}
Django Version: {{ django_version_info }}
Exception Type: {{ exception_type }}
Exception Value:
{{ exception_value|force_escape }}
Exception Location: {{ lastframe.filename }}, line {{ lastframe.lineno }}, in {{ lastframe.function }}
Raised during: {{ raising_view_name }}
Python Executable: {{ sys_executable }}
Python Version: {{ sys_version_info }}
Python Path:
{{ sys_path|pprint }}
Server time: {{server_time|date:"r"}}
{% if unicode_hint %}

Unicode error hint

The string that could not be encoded/decoded was: {{ unicode_hint }}

{% endif %} {% if template_does_not_exist %}

Template-loader postmortem

{% if postmortem %}

Django tried loading these templates, in this order:

{% for entry in postmortem %}

Using engine {{ entry.backend.name }}:

{% endfor %} {% else %}

No templates were found because your 'TEMPLATES' setting is not configured.

{% endif %}
{% endif %} {% if template_info %}

Error during template rendering

In template {{ template_info.name }}, error at line {{ template_info.line }}

{{ template_info.message|force_escape }}

{% for source_line in template_info.source_lines %} {% if source_line.0 == template_info.line %} {% else %} {% endif %} {% endfor %}
{{ source_line.0 }} {{ template_info.before }}{{ template_info.during }}{{ template_info.after }}
{{ source_line.0 }} {{ source_line.1 }}
{% endif %} {% if frames %}

Traceback{% if not is_email %} Switch to copy-and-paste view{% endif %}

    {% for frame in frames %} {% ifchanged frame.exc_cause %}{% if frame.exc_cause %}
  • {% if frame.exc_cause_explicit %} The above exception ({{ frame.exc_cause|force_escape }}) was the direct cause of the following exception: {% else %} During handling of the above exception ({{ frame.exc_cause|force_escape }}), another exception occurred: {% endif %}

  • {% endif %}{% endifchanged %}
  • {% if frame.tb %} {{ frame.filename }}, line {{ frame.lineno }}, in {{ frame.function }} {% elif forloop.first %} None {% else %} Traceback: None {% endif %} {% if frame.context_line %}
    {% if frame.pre_context and not is_email %}
      {% for line in frame.pre_context %}
    1. {{ line }}
    2. {% endfor %}
    {% endif %}
    1. {{ frame.context_line }}{{ frame.colno }}
      {% if not is_email %} {% endif %}
    {% if frame.post_context and not is_email %}
      {% for line in frame.post_context %}
    1. {{ line }}
    2. {% endfor %}
    {% endif %}
    {% endif %} {% if frame.vars %} {% if is_email %}

    Local Vars

    {% else %}
    Local vars {% endif %} {% for var in frame.vars|dictsort:0 %} {% endfor %}
    Variable Value
    {{ var.0 }}
    {{ var.1 }}
    {% if not is_email %}
    {% endif %} {% endif %}
  • {% endfor %}
{% if not is_email %}


{% endif %}
{% endif %}

Request information

{% if request %} {% if user_str %}

USER

{{ user_str }}

{% endif %}

GET

{% if request.GET %} {% for k, v in request_GET_items %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

No GET data

{% endif %}

POST

{% if filtered_POST_items %} {% for k, v in filtered_POST_items %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

No POST data

{% endif %}

FILES

{% if request.FILES %} {% for k, v in request_FILES_items %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

No FILES data

{% endif %} {% if request.COOKIES %} {% for k, v in request_COOKIES_items %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

No cookie data

{% endif %}

META

{% for k, v in request_meta.items|dictsort:0 %} {% endfor %}
Variable Value
{{ k }}
{{ v|pprint }}
{% else %}

Request data not supplied

{% endif %}

Settings

Using settings module {{ settings.SETTINGS_MODULE }}

{% for k, v in settings.items|dictsort:0 %} {% endfor %}
Setting Value
{{ k }}
{{ v|pprint }}
{% if not is_email %} {% endif %}