diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2010-03-17 00:23:37 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2010-03-17 00:23:37 +0100 |
commit | 7630b1e3d74f507af6627c793c6983087d1f93c2 (patch) | |
tree | 3a998db239995ff30ac60ce17c2e149cc524bef9 /index.py | |
parent | b9779aae7e41e3c89772f6857d3d733685476198 (diff) | |
download | web-7630b1e3d74f507af6627c793c6983087d1f93c2.tar.gz web-7630b1e3d74f507af6627c793c6983087d1f93c2.tar.bz2 web-7630b1e3d74f507af6627c793c6983087d1f93c2.zip |
documentation
Diffstat (limited to 'index.py')
-rwxr-xr-x | index.py | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -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() |