Re: A Buffet replacement

2008-03-04 Thread Ian Bicking
Ben Bangert wrote: > On Mar 4, 2008, at 9:18 AM, Ian Bicking wrote: > >> I would prefer a pattern like: >> >> # in, maybe, helpers.py or something... >> from something import MakoRenderer >> render = MakoRenderer( >> base_path=os.path.join(os.path.dirname(__file__), 'templates'), >> ... whate

Re: A Buffet replacement

2008-03-04 Thread Ben Bangert
On Mar 4, 2008, at 9:18 AM, Ian Bicking wrote: I would prefer a pattern like: # in, maybe, helpers.py or something... from something import MakoRenderer render = MakoRenderer( base_path=os.path.join(os.path.dirname(__file__), 'templates'), ... whatever other options you might set ...) Wha

Re: which egg is being used, if a few versions are installed?

2008-03-04 Thread Gavin Engel
Great thanks! It's closed? What does that mean? > I meant that the Google group did not allow new posts last night, for whatever reason. Maybe maintenance, I'm not sure. I also noticed some spam in it, maybe that had something to do with it. --~--~-~--~~~---~--~

template controller

2008-03-04 Thread Mike Orr
Following up on the issue in pylons-discuss, why does the template.py controller exist? Is it a Railsism? Does anybody use it? Should we take it out of the default template and simply have Routes 404 any URLs that don't otherwise match? -- Mike Orr <[EMAIL PROTECTED]> --~--~-~--~

Re: A Buffet replacement

2008-03-04 Thread Ian Bicking
Ben Bangert wrote: > We've talked about Buffet replacements before, but I've talked with a > few people now about going a different route. Making it so easy to write > your own 'render' function, that Buffet and such wouldn't even be > necessary. I would prefer a pattern like: # in, maybe, he