summaryrefslogtreecommitdiff
path: root/extras/appengine
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2009-05-14 22:30:16 +0200
committerAndi Albrecht <albrecht.andi@gmail.com>2009-05-14 22:30:16 +0200
commit9917967e25669d21e577123583a2d3a191844c62 (patch)
treeb7732372eda2233e4ac5be3093637cacd368f010 /extras/appengine
parent691c0400e5a7d8229b7dce09bf47176539add328 (diff)
downloadsqlparse-9917967e25669d21e577123583a2d3a191844c62.tar.gz
Added error templates.
Diffstat (limited to 'extras/appengine')
-rw-r--r--extras/appengine/templates/404.html12
-rw-r--r--extras/appengine/templates/500.html19
2 files changed, 31 insertions, 0 deletions
diff --git a/extras/appengine/templates/404.html b/extras/appengine/templates/404.html
new file mode 100644
index 0000000..1eb60e8
--- /dev/null
+++ b/extras/appengine/templates/404.html
@@ -0,0 +1,12 @@
+<html>
+ <head><title>404 Not Found</title></head>
+ <body>
+ <h1>404 - Not Found.</h1>
+ <p>
+ If you think this is a bug please file an issue on the tracker:
+ <a href="http://code.google.com/p/python-sqlparse/issues/list">
+ http://code.google.com/p/python-sqlparse/issues/list
+ </a>.
+ </p>
+ </body>
+</html>
diff --git a/extras/appengine/templates/500.html b/extras/appengine/templates/500.html
new file mode 100644
index 0000000..8fa8f56
--- /dev/null
+++ b/extras/appengine/templates/500.html
@@ -0,0 +1,19 @@
+<html>
+ <head><title>500 Internal Server Error</title></head>
+ <body>
+ <h1>uups... 500 Internal Server Error.</h1>
+ <p>
+ Looks like you've hit a bug! Please file an issue on the tracker:
+ <a href="http://code.google.com/p/python-sqlparse/issues/list">
+ http://code.google.com/p/python-sqlparse/issues/list
+ </a>.
+ </p>
+ <p>
+ Please add a short description what happened and if possible add the SQL
+ statement you've tried to format.
+ </p>
+ <p>
+ Thanks!
+ </p>
+ </body>
+</html>