hey guys, i'm new to the turbogears project and relatively new to using
python, actually, so please bear with me if i ask something really stupid.

i need to be able to dynamically choose which kid template to use in
response to a request. the idea being that there are a set of skins
which can be applied to a given response. obviously using the
@turbogears.expose(html="foo.templates.skins.bar") attribute (is that
the word for this kind of annotation?) isn't going to cut it. what are
my other options?

another, more basic question - my app has both an admin area and a
public area. rather than stuff all the logic into one controllers.py
module, it seems like the thing to do is tell turbogears to use one
controllers module for /admin and another for everything else. is there
a recommended pattern for this? also, a starting point for the
turbogears authentication stuff? didn't see anything obvious on the web
site.

thanks in advance for any suggestions and, indeed, for this really neat
project.

- donald

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to