Benedikt Terhechte wrote:
> Actually, that doesn't work either in the new versions, it should be:
>
> @identity.require(identity.in_group("admin"))

Anyone correct me if I'm wrong, but I think that depends on how you do
your imports.  if you

from turbogears.identity import *
or
from turbogears.identity import validators

you don't have to preface the validators with identity.

-Mike


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