# 382 - Redirect as 404

* 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
This commit is contained in:
mpeltriaux committed 2024-02-16 10:13:43 +01:00
1 parent 0b5691f501
commit 11cc8b6766
9 files changed
+62 -30

No files matched your search

+1
View File
@@ -8,6 +8,7 @@
<hr>
<p class="lead">
{% trans 'The requested data does not exist.' %}
{% trans 'Make sure the URL is valid (no whitespaces, ...).' %}
</p>
</div>
{% endblock %}