mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-03-06 12:25:59 +03:00
Use exception var in 404.html if available
This commit is contained in:
parent
3a1e94f41c
commit
ac0af4c178
|
@ -5,5 +5,5 @@
|
|||
{% block content %}
|
||||
<h1>Page not found</h1>
|
||||
|
||||
<p>This is not the page you were looking for.</p>
|
||||
<p>{% if exception %}{{ exception }}{% else %}This is not the page you were looking for.{% endif %}</p>
|
||||
{% endblock content %}{% endraw %}
|
||||
|
|
Loading…
Reference in New Issue
Block a user