summaryrefslogtreecommitdiff
path: root/index.py
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-03-17 00:23:37 +0100
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-03-17 00:23:37 +0100
commit7630b1e3d74f507af6627c793c6983087d1f93c2 (patch)
tree3a998db239995ff30ac60ce17c2e149cc524bef9 /index.py
parentb9779aae7e41e3c89772f6857d3d733685476198 (diff)
downloadweb-7630b1e3d74f507af6627c793c6983087d1f93c2.tar.gz
web-7630b1e3d74f507af6627c793c6983087d1f93c2.tar.bz2
web-7630b1e3d74f507af6627c793c6983087d1f93c2.zip
documentation
Diffstat (limited to 'index.py')
-rwxr-xr-xindex.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/index.py b/index.py
index 9263ea5..74e3e3a 100755
--- a/index.py
+++ b/index.py
@@ -3,11 +3,23 @@
import web
import controller
-urls = ( "/(.*)", "controller.Page")
+#
+# URL Mappings
+#
+urls = (
+ "/(.*)", "controller.Page"
+ )
+
+#
+# The App
+#
app = web.application(urls, globals())
app.notfound = controller.FourOhFour
+# debug for the moment
web.config.debug = True
+#
+# And go!
if __name__ == "__main__":
app.run()