Skip to content

Commit

Permalink
Merge pull request #343 from lelutin/error_page_templates
Browse files Browse the repository at this point in the history
Error page templates
  • Loading branch information
stefanor committed Feb 1, 2017
2 parents ebfc696 + 1c92f20 commit 12bac52
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
8 changes: 8 additions & 0 deletions wafer/templates/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends "wafer/base.html" %}
{% load i18n %}
{% block content %}
<h1>{% trans "Page not found" %}</h1>
{% blocktrans %}
The page you requested cannot be found.
{% endblocktrans %}
{% endblock %}
8 changes: 8 additions & 0 deletions wafer/templates/500.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{% extends "wafer/base.html" %}
{% load i18n %}
{% block content %}
<h1>{% trans "Internal server error" %}</h1>
{% blocktrans %}
Something went wrong while preparing the page that was requested.
{% endblocktrans %}
{% endblock %}

0 comments on commit 12bac52

Please sign in to comment.