3 messages in com.googlegroups.pylons-discussRe: Myghty as the default template la...
FromSent OnAttachments
Robert Leftwich20 Sep 2007 19:19 
Daniel Tang23 Sep 2007 13:24 
Robert Leftwich23 Sep 2007 15:21 
Subject:Re: Myghty as the default template language?
From:Robert Leftwich (pylo@public.gmane.org)
Date:09/23/2007 03:21:13 PM
List:com.googlegroups.pylons-discuss

"Daniel Tang" <dan.@public.gmane.org> writes:

Also, I think you can just set the default by changing the init_app call from 'mako' to 'pylonsmyghty'.

Ah, that was it, the magic name :-) Thanks!

The init_app() approach appears to work with the addition of the 'components' path to 'templates', i.e.

paths = dict(root=root, controllers=os.path.join(root, 'controllers'), static_files=os.path.join(root, 'public'), templates=[os.path.join(root, 'templates'), os.path.join(root, 'components')])

Now to track down why the caching decorator is no longer working... "<type 'exceptions.TypeError'>: can't pickle _local objects"

Robert