"Mark Ramm" <[EMAIL PROTECTED]> writes: >> class Root(...) >> login = LoginController() >> logout = LogoutController() > > I like this, it might be worth just importing identity and being > explicit in the assignment, so people know at a glance exactly where > these login and logout methods are coming from: > > import identity > > class Root(...) > login = identity.Controlers.login() > logout= identity.Controlers.logout()
Looks much better... And as Alberto wanted, it is also cleaner. It's a +1 from me. (Just leave the template at the same place, please, so that it is easily and intuitively customizable for new projects). -- Jorge Godoy <[EMAIL PROTECTED]> --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
