%s
' % escape(exception.args[0])) - else: - html.append('Using the URLconf defined in %s
, Django tried these URL patterns, in this order:
%s
The current URL, %r
, didn't match any of these.
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 404 page.
Request Method: | +{{ request.META.REQUEST_METHOD }} | +
---|---|
Request URL: | +{{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.path }} | +
Exception Type: | +{{ exception_type }} | +
Exception Value: | +{{ exception_value }} | +
Exception Location: | +{{ lastframe.filename }} in {{ lastframe.function }}, line {{ lastframe.lineno }} | +
{{ frame.filename }}
in {{ frame.function }}
+
+ {% if frame.context_line %}
+ Variable | +Value | +
---|---|
{{ var.0 }} | +{{ var.1|pprint|escape }} |
+
Variable | +Value | +
---|---|
{{ var.0 }} | +{{ var.1|pprint|escape }} |
+
No GET data
+ {% endif %} + +
Variable | +Value | +
---|---|
{{ var.0 }} | +{{ var.1|pprint|escape }} |
+
No POST data
+ {% endif %} + +
Variable | +Value | +
---|---|
{{ var.0 }} | +{{ var.1|pprint|escape }} |
+
No cookie data
+ {% endif %} + +
Variable | +Value | +
---|---|
{{ var.0 }} | +{{ var.1|pprint|escape }} |
+
{{ settings.SETTINGS_MODULE }}
Setting | +Value | +
---|---|
{{ var.0 }} | +{{ var.1|pprint|escape }} |
+
+ 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 500 page.
+
Request Method: | +{{ request.META.REQUEST_METHOD }} | +
---|---|
Request URL: | +{{ request_protocol }}://{{ request.META.HTTP_HOST }}{{ request.path }} | +
+ Using the URLconf defined in {{ settings.ROOT_URLCONF }}
,
+ Django tried these URL patterns, in this order:
+
The current URL, {{ request.path }}
, didn't match any of these.
{{ reason|escape }}
+ {% endif %} +
+ 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 404 page.
+