Add error pages
This commit is contained in:
parent
b2d0729a04
commit
d7fbfeac85
|
@ -0,0 +1,12 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %} {% trans "Error: page not found" %} {% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h2>{% trans "Error: page not found" %}</h2>
|
||||
|
||||
<p>{% trans "The page you requested has not been found on this server." %}
|
||||
|
||||
{% endblock %}
|
|
@ -0,0 +1,12 @@
|
|||
{% extends "base.html" %}
|
||||
{% load i18n %}
|
||||
|
||||
{% block title %} {% trans "Error: server error (500)" %} {% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h2>{% trans "Server Error" %}</h2>
|
||||
|
||||
<p>{% trans "We're sorry but a server error has occurred." %}
|
||||
|
||||
{% endblock %}
|
Loading…
Reference in New Issue