# 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:
2024-02-16 10:13:43 +01:00
parent 0b5691f501
commit 11cc8b6766
9 changed files with 62 additions and 30 deletions

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 %}