> So I can only suggest adding another warning paragraph after the next
> warning paragraph ("Only Chameleon templates suppor..."), something like
> this:
>
> "Mako templates interpret absolute UNIX pathnames (those starting with a
> slash) relative to the lookup path defined by mako.directories, so the
> starting slash does not mean the root of the underlying filesystem."Those aren't absolute paths, they're template URIs. There was a short period when that was considered desirable, and it was the normal syntax in Pylons, which may have inherited it from TurboGears. That was the era when Mako was written. So the problem is the word "absolute", and the solution is not to use slash-paths with a search path, especially if it's likely to be misinterpreted as an absolute path. The docs can mention this for clarity. -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/groups/opt_out.
