On Apr 8, 2006, at 11:04 PM, Jeff Watkins wrote:
> OK. So if I wanted to make this happen, how would I defined a
> controller in the Identity framework that uses a template in the
> project?
Pass the template as a paremeter to the constructor:
class Root(...):
login = identity.Controlers.login(template="myapp.templates.login")
Or maybe use pkg_resources to find a login.kid in the projects
template dir as a default if no template is passed at the ctor..
Alberto
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears Trunk" 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-trunk
-~----------~----~----~----~------~----~------~--~---