# 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:
@@ -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 %}
|
||||
Reference in New Issue
Block a user