On 2/9/07, Christopher Arndt <[EMAIL PROTECTED]> wrote: > > [EMAIL PROTECTED] schrieb: > > I have a lot of pages that are just kid templates that get rendered > > and spit out. > > > > As such, my controllers.py has lots of statements like this: > > > > @expose(template="ch.templates.services") > > def services( self ): > > return dict() > why not just serve them as .html files?
> I was just doing something similar, because I was building a template browser > for a customer, so he can test the templates he writes. I have slightly > adapted > it to your purpose: > > http://paste.turbogears.org/paste/1002 > you know that seems like a good idea for a simple tutorial on how to use default and setting the template at "run time", maybe even throw a little explanation of variable providers. > HTH, Chris > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

