1
0
mirror of https://github.com/django/django.git synced 2025-07-04 17:59:13 +00:00

Add forgotten 'template_debug' template

git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@953 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Robert Wittams 2005-10-19 09:22:50 +00:00
parent 8694d4b7b8
commit 8fb86e60a1

View File

@ -0,0 +1,25 @@
{% extends "base_site" %}
{% block content %}
<div>
<h2> Error in Template </h2>
<pre>
{{message}}
</pre>
{%ifnotequal bottom "0"%}
.<br/>.<br/>.<br/>
{%endifnotequal%}
<pre class="source">
{% for source_line in source_lines %}{% ifequal source_line.0 line %}<span class="error">{{source_line.0|rjust:"5"}}:{{ source_line.1}} </span>
{% else %}{{source_line.0|rjust:"5"}}:{{ source_line.1 }}
{% endifequal %}{% endfor %}
</pre>
{%ifnotequal top total%}
.<br/>.<br/>.<br/>
{%endifnotequal%}
</div>
{% endblock %}