use a much simpler errorpage.html template, related to #356 #365

the normal base template does quite a lot of stuff and the context /
session needs to be prepared for that. in case of errors, we do not
want to do any heavy stuff, like accessing the db / session.
This commit is contained in:
Thomas Waldmann 2018-10-01 14:10:43 +02:00
parent 04dcbc8662
commit 8c6d6c6346

View File

@ -1,10 +1,14 @@
{% extends "base.html" %}
{% load i18n %}{% load bootstrap %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>{{ WWW_HOST }} - something went wrong...</title>
</head>
<body>
{% block content %}
<div class="row">
{% block error %}
{% endblock %}
</div>
{% endblock %}
<a href="{% url 'home' %}">Back to {{ WWW_HOST }}.</a>
</body>
</html>