Re: URL dispatch vs traversal

2010-12-13 Thread Rob Miller
On 12/07/2010 04:47 AM, Paul Everitt wrote: I'll add a little historical perspective to the traversal approach. Way, way back, before Zope was Zope and before there was a full ZODB, we had this approach called "object publishing". It was Python objects, published on the web. A URL pointed you a

Re: @view_config and URL dispatch

2010-12-13 Thread Ben Bangert
On Dec 12, 2010, at 10:20 PM, Jerry wrote: > but not /with/ the 'name' argument (which gives the same error as that > in my previous post) -- > > > @view_config(name='site1_view', route_name='site1', > renderer='templates/site1.pt') > > > Maybe the doc could have made it clearer that view_conf

Static views fail on directories with infinite redirects or other weird behaviour

2010-12-13 Thread Nikolaj
Hi, I have a simple setup like this: def main(global_conf, **local_conf): ... config.add_handler('home', '/', 'myapp.handlers:HomeHandler', action='index', request_method='GET') # static_view here ... With the configuration below, I get the following results: config.add_static_v