| 1 |
{% firstof exception_type 'Report' %}{% if request %} at {{ request.path_info }}{% endif %} |
| 2 |
{% firstof exception_value 'No exception message supplied' %} |
| 3 |
{% if request %} |
| 4 |
Request Method: {{ request.META.REQUEST_METHOD }} |
| 5 |
Request URL: {{ request_insecure_uri }}{% endif %} |
| 6 |
Django Version: {{ django_version_info }} |
| 7 |
Python Executable: {{ sys_executable }} |
| 8 |
Python Version: {{ sys_version_info }} |
| 9 |
Python Path: {{ sys_path }} |
| 10 |
Server time: {{server_time|date:"r"}} |
| 11 |
Installed Applications: |
| 12 |
{{ settings.INSTALLED_APPS|pprint }} |
| 13 |
Installed Middleware: |
| 14 |
{{ settings.MIDDLEWARE|pprint }} |
| 15 |
{% if template_does_not_exist %}Template loader postmortem |
| 16 |
{% if postmortem %}Django tried loading these templates, in this order: |
| 17 |
{% for entry in postmortem %} |
| 18 |
Using engine {{ entry.backend.name }}: |
| 19 |
{% if entry.tried %}{% for attempt in entry.tried %} * {{ attempt.0.loader_name }}: {{ attempt.0.name }} ({{ attempt.1 }}) |
| 20 |
{% endfor %}{% else %} This engine did not provide a list of tried templates. |
| 21 |
{% endif %}{% endfor %} |
| 22 |
{% else %}No templates were found because your 'TEMPLATES' setting is not configured. |
| 23 |
{% endif %} |
| 24 |
{% endif %}{% if template_info %} |
| 25 |
Template error: |
| 26 |
In template {{ template_info.name }}, error at line {{ template_info.line }} |
| 27 |
{{ template_info.message }} |
| 28 |
{% for source_line in template_info.source_lines %}{% if source_line.0 == template_info.line %} {{ source_line.0 }} : {{ template_info.before }} {{ template_info.during }} {{ template_info.after }}{% else %} {{ source_line.0 }} : {{ source_line.1 }}{% endif %}{% endfor %}{% endif %}{% if frames %} |
| 29 |
|
| 30 |
Traceback (most recent call last): |
| 31 |
{% for frame in frames %}{% ifchanged frame.exc_cause %}{% if frame.exc_cause %} |
| 32 |
{% if frame.exc_cause_explicit %}The above exception ({{ frame.exc_cause }}) was the direct cause of the following exception:{% else %}During handling of the above exception ({{ frame.exc_cause }}), another exception occurred:{% endif %} |
| 33 |
{% endif %}{% endifchanged %} {% if frame.tb %}File "{{ frame.filename }}"{% if frame.context_line %}, line {{ frame.lineno }}{% endif %}, in {{ frame.function }} |
| 34 |
{% if frame.context_line %} {% spaceless %}{{ frame.context_line }}{% endspaceless %}{{ frame.tb_area_colno }}{% endif %}{% elif forloop.first %}None{% else %}Traceback: None{% endif %} |
| 35 |
{% endfor %} |
| 36 |
{% if exception_type %}Exception Type: {{ exception_type }}{% if request %} at {{ request.path_info }}{% endif %} |
| 37 |
{% if exception_value %}Exception Value: {{ exception_value }}{% endif %}{% if exception_notes %}{{ exception_notes }}{% endif %}{% endif %}{% endif %} |
| 38 |
{% if raising_view_name %}Raised during: {{ raising_view_name }}{% endif %} |
| 39 |
{% if request %}Request information: |
| 40 |
{% if user_str %}USER: {{ user_str }}{% endif %} |
| 41 |
|
| 42 |
GET:{% for k, v in request_GET_items %} |
| 43 |
{{ k }} = {{ v|stringformat:"r" }}{% empty %} No GET data{% endfor %} |
| 44 |
|
| 45 |
POST:{% for k, v in filtered_POST_items %} |
| 46 |
{{ k }} = {{ v|stringformat:"r" }}{% empty %} No POST data{% endfor %} |
| 47 |
|
| 48 |
FILES:{% for k, v in request_FILES_items %} |
| 49 |
{{ k }} = {{ v|stringformat:"r" }}{% empty %} No FILES data{% endfor %} |
| 50 |
|
| 51 |
COOKIES:{% for k, v in request_COOKIES_items %} |
| 52 |
{{ k }} = {{ v|stringformat:"r" }}{% empty %} No cookie data{% endfor %} |
| 53 |
|
| 54 |
META:{% for k, v in request_meta.items|dictsort:0 %} |
| 55 |
{{ k }} = {{ v|stringformat:"r" }}{% endfor %} |
| 56 |
{% else %}Request data not supplied |
| 57 |
{% endif %} |
| 58 |
Settings: |
| 59 |
Using settings module {{ settings.SETTINGS_MODULE }}{% for k, v in settings.items|dictsort:0 %} |
| 60 |
{{ k }} = {{ v|stringformat:"r" }}{% endfor %} |
| 61 |
|
| 62 |
{% if not is_email %} |
| 63 |
You’re seeing this error because you have DEBUG = True in your |
| 64 |
Django settings file. Change that to False, and Django will |
| 65 |
display a standard page generated by the handler for this status code. |
| 66 |
{% endif %} |