Permalink
Browse files

Add default 404 and 500 templates

  • Loading branch information...
1 parent edddc1a commit 2bce4fa52aad8b1db5f1b4bd6fe1a94142c97ccc @kumar303 kumar303 committed Apr 6, 2012
Showing with 30 additions and 0 deletions.
  1. +15 −0 project/base/templates/404.html
  2. +15 −0 project/base/templates/500.html
View
15 project/base/templates/404.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html LANG="{{ LANG }}" dir="{{ DIR }}">
+ <head>
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
+ <title>{{ _('Page not found') }}</title>
+ </head>
+ <body>
+ <h1>{{ _('Page not found') }}</h1>
+ <p>
+ {% trans %}
+ Sorry, but we couldn't find the page you're looking for.
+ {% endtrans %}
+ </p>
+ </body>
+</html>
View
15 project/base/templates/500.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<html LANG="{{ LANG }}" dir="{{ DIR }}">
+ <head>
+ <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
+ <title>{{ _('Something went wrong!') }}</title>
+ </head>
+ <body>
+ <h1>{{ _('Page not found') }}</h1>
+ <p>
+ {% trans %}
+ Sorry, but something went wrong.
+ {% endtrans %}
+ </p>
+ </body>
+</html>

0 comments on commit 2bce4fa

Please sign in to comment.