mpeltriaux
11cc8b6766
* extends 404 template (user should check the URL) * introduces new decorator "uuid_required" which performs a check on a given 'uuid' or 'id' parameter * throws a Http404 exception --> redirect to 404 template instead of 500 error template
14 lines
453 B
HTML
14 lines
453 B
HTML
{% extends 'public_base.html' %}
|
|
{% load i18n fontawesome_5 %}
|
|
|
|
{% block body %}
|
|
<div class="jumbotron">
|
|
<h1 class="display-4">{% fa5_icon 'question-circle' %} 404</h1>
|
|
<h1 class="display-4">{% trans 'Not found' %}</h1>
|
|
<hr>
|
|
<p class="lead">
|
|
{% trans 'The requested data does not exist.' %}
|
|
{% trans 'Make sure the URL is valid (no whitespaces, ...).' %}
|
|
</p>
|
|
</div>
|
|
{% endblock %} |