Re: Forcing mako to access templates outside of the pylon app?

2012-09-18 Thread Jonathan Vanasco
i had a similar need a while back ( it had to do with asset folders, but still similar ) > > the easiest solution for me, was to have a symlink created as part of my setup/deployment i use fabric for deployment, so it was extra simple. you could just 'mount' the external project directories und

Re: Forcing mako to access templates outside of the pylon app?

2012-09-17 Thread Chris Reid
I went in and edited/commented the source at line 232 in mako/template.py I am sure there is a reason they did this, but for me it works. u_norm = self.uri if u_norm.startswith("/"): u_norm = u_norm[1:] u_norm = os.path.normpath(u_norm) #~ if u_norm.sta

Forcing mako to access templates outside of the pylon app?

2008-12-04 Thread Jules Stevenson
<> Hi All, I'm building an intranet based office management 'thing'. It has a lot to do with automating project setup, folder creation, various start up scripts etc. One snag that I've hit is I seem unable to access mako template files that are outside of the pylons project. For example <%