{% if not is_email %} {% endif %}
{% if exception_value %}{{ exception_value|force_escape }}{% else %}No exception message supplied{% endif %}
Request Method: | {{ request.META.REQUEST_METHOD }} |
---|---|
Request URL: | {{ request.get_raw_uri|escape }} |
Django Version: | {{ django_version_info }} |
Exception Type: | {{ exception_type }} |
Exception Value: | {{ exception_value|force_escape }} |
Exception Location: | {{ lastframe.filename|escape }} in {{ lastframe.function|escape }}, line {{ lastframe.lineno }} |
Python Executable: | {{ sys_executable|escape }} |
Python Version: | {{ sys_version_info }} |
Python Path: | {{ sys_path|pprint }} |
Server time: | {{server_time|date:"r"}} |
The string that could not be encoded/decoded was: {{ unicode_hint|force_escape }}
Django tried loading these templates, in this order:
{% for entry in postmortem %}Using engine {{ entry.backend.name }}
:
{{ attempt.0.loader_name }}
: {{ attempt.0.name }} ({{ attempt.1 }})No templates were found because your 'TEMPLATES' setting is not configured.
{% endif %}In template {{ template_info.name }}
, error at line {{ template_info.line }}
{{ source_line.0 }} | {{ template_info.before }}{{ template_info.during }}{{ template_info.after }} |
---|---|
{{ source_line.0 }} | {{ source_line.1 }} |
{{ frame.filename|escape }}
in {{ frame.function|escape }}
{% if frame.context_line %}
{{ line|escape }}
{{ frame.context_line|escape }}{% if not is_email %} ...{% endif %}
{{ line|escape }}
Variable | Value |
---|---|
{{ var.0|force_escape }} | {{ var.1 }} |
{{ user_str }}
{% endif %}Variable | Value |
---|---|
{{ k }} | {{ v|pprint }} |
No GET data
{% endif %}Variable | Value |
---|---|
{{ k }} | {{ v|pprint }} |
No POST data
{% endif %}Variable | Value |
---|---|
{{ k }} | {{ v|pprint }} |
No FILES data
{% endif %}Variable | Value |
---|---|
{{ k }} | {{ v|pprint }} |
No cookie data
{% endif %}Variable | Value |
---|---|
{{ var.0 }} | {{ var.1|pprint }} |
Request data not supplied
{% endif %}{{ settings.SETTINGS_MODULE }}
Setting | Value |
---|---|
{{ var.0 }} | {{ var.1|pprint }} |
You're seeing this error because you have DEBUG = True
in your
Django settings file. Change that to False
, and Django will
display a standard page generated by the handler for this status code.