diff --git a/templates/400.html b/templates/400.html index b4c0319..b8b20c9 100644 --- a/templates/400.html +++ b/templates/400.html @@ -1,70 +1,5 @@ -{% load static %} - - - - -
-
400
-
Invalid request_
-
- +{% extends "error_template.html" %} +{% block content %} +
400
+
Invalid request_
+{% endblock %} diff --git a/templates/403.html b/templates/403.html index e5afaf1..e308274 100644 --- a/templates/403.html +++ b/templates/403.html @@ -1,75 +1,7 @@ -{% load static %} +{% extends "error_template.html" %} - - - -
-
403
-
Forbidden_
-
Login
-
- +{% block content %} +
403
+
Forbidden_
+
Login
+{% endblock %} diff --git a/templates/404.html b/templates/404.html index b156143..b117208 100644 --- a/templates/404.html +++ b/templates/404.html @@ -1,68 +1,8 @@ - - - -
-
404
-
Not found_
-
- diff --git a/templates/500.html b/templates/500.html index 7dc6b35..d3994cb 100644 --- a/templates/500.html +++ b/templates/500.html @@ -1,77 +1,8 @@ -{% load static %} +{% extends "error_template.html" %} - - - -
+{% block content %}
500
Something went wrong..._
-
+{% endblock %} + - diff --git a/templates/error_template.html b/templates/error_template.html new file mode 100644 index 0000000..44d3aea --- /dev/null +++ b/templates/error_template.html @@ -0,0 +1,81 @@ +{% load static %} + + + + +
+ {% block content %} +
MISSING_ERROR_CODE
+
+ MISSING ERROR DESCRIPTION _ +
+ {% endblock %} +
+