Matthew Bevan wrote:
>
> 1. Can I make the @turbogears.expose() template path relative to the
> current directory, or otherwise detach it from my application root?
> E.g. the above would turn into "templates.view" which is much nicer.
>

If you are using tg svn:

* Templates can now be specified relative to the current package by
  preceding the template name with ".". For example, if you have a
  controller in "yourpackage" with templates in a package under that
  package, you can use "yourpackage.templates.templatename" *or*
  ".templates.templatename". Thanks to David Bernard.

Ciao
Michele

Reply via email to