Ajout pages 403/404/500
This commit is contained in:
parent
e8cc0a1ef0
commit
742dee9892
4 changed files with 33 additions and 1 deletions
12
templates/404.html
Normal file
12
templates/404.html
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Page introuvable{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
<h2>Page introuvable</h2>
|
||||
{% if exception == "Resolver404" %}
|
||||
<p>Nous sommes désolés, la page demandée n'existe pas ou plus.</p>
|
||||
{% else %}
|
||||
<p>{{ exception }}</p>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
Loading…
Add table
Add a link
Reference in a new issue