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
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
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.
--~--~-~--~~~---~--~
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]>
--~--~-~--~
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