Skip to content
Snippets Groups Projects
Verified Commit e0ce00a1 authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Render exception message in 404 page instead of default text

parent ad64d255
No related branches found
No related tags found
1 merge request!871Render message in 404 page
......@@ -25,6 +25,8 @@ Changed
* Name collisions are resolved by prefixing with the app label
* Apps can extend SHELL_PLUS_APP_PREFIXES and SHELL_PLUS_DONT_LOAD
* Views raising a 404 error can now customise the message that is displayed on the error page
`2.5`_ – 2022-01-02
-------------------
......
......@@ -7,8 +7,7 @@
<div class="card red">
<div class="card-content white-text">
<i class="material-icons small left">error_outline</i>
<span class="card-title">{% trans "Error" %} (404): {% blocktrans %}The requested page or object was not
found.{% endblocktrans %}</span>
<span class="card-title">{{ exception }}</span>
<p>
{% blocktrans %}
If you were redirected by a link on an external page,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment