Hi,
Couldn't the login and logout methods from the quickstart
controllers.py template factored out into separate controllers? These
could be imported and attached so the initial code isn't bloated with
methods that might not be needed. I think it will be better for
beginners because it's less code to try to figure out what it means
in the initial skeleton.
When you need this methods you could:
from identity import LoginController, LogoutController
class Root(...)
login = LoginController()
logout = LogoutController()
or even a mixin-class that provides these methods:
class Root(RootController, LoginLogoutController):
....
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
-~----------~----~----~----~------~----~------~--~---