project/templates/_errors.html
author Parth buch <parth.buch.115@gmail.com>
Sat, 01 Oct 2011 03:59:03 +0530
branch2011
changeset 429 cde70fd3073c
parent 1 fda1c66b25f9
permissions -rw-r--r--
changed the handler404 and handler500 to a custom view, passing scope to get proper formed urls when displaying 404 and 500 pages

{% if messages %}<div id="messages">{% for message in messages %}{{ message }}{% endfor %}</div>{% endif %}
{% if form.errors %}<div id="errors">Please correct the errors below</div>{% endif %}