From 7630b1e3d74f507af6627c793c6983087d1f93c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Wed, 17 Mar 2010 00:23:37 +0100 Subject: documentation --- index.py | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'index.py') 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() -- cgit v1.2.3