Add templates for 404 and 500 errors. Fixed #66
This commit is contained in:
parent
54a4bfbadf
commit
eb5fcc9a08
4 changed files with 16 additions and 0 deletions
BIN
get_together/static/img/404.png
Normal file
BIN
get_together/static/img/404.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 631 KiB |
BIN
get_together/static/img/500.png
Normal file
BIN
get_together/static/img/500.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 606 KiB |
8
get_together/templates/404.html
Normal file
8
get_together/templates/404.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "get_together/base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block content %}
|
||||
<center>
|
||||
<img src="{% static 'img/404.png' %}" title="Not Found"/>
|
||||
</center>
|
||||
{% endblock %}
|
8
get_together/templates/500.html
Normal file
8
get_together/templates/500.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
{% extends "get_together/base.html" %}
|
||||
{% load static %}
|
||||
|
||||
{% block content %}
|
||||
<center>
|
||||
<img src="{% static 'img/500.png' %}" title="Server Error"/>
|
||||
</center>
|
||||
{% endblock %}
|
Loading…
Reference in a new issue