2 ms·
wow init({'middleware': [('paste.gzipper.middleware', {'compress_level': 1})]}) dict holding list holding tuple holding dict :) no biggy to throw a wrapper ove
by cnlwsu 17y ago
wow
init({'middleware': [('paste.gzipper.middleware', {'compress_level': 1})]})
dict holding list holding tuple holding dict :) no biggy to throw a wrapper over it though. Is it possible to place all the routes in one place you think with this? I am worried with a larger project I will forget which module contains what url... Unless there is some convention for url path->module name (if there isnt I would suggest establishing one). A suggestion I would have is standardize on some templating so if people end up using this there wont be a person using a different available one. (http://wiki.python.org/moin/Templating http://wiki.python.org/moin/Templating) I noticed http://karrigell.sourceforge.net/en/pythoninsidehtml.htm http://karrigell.sourceforge.net/en/pythoninsidehtml.htm was not on that page though... albeit its more like php.