On Wednesday 12 July 2006 17:56, OriginalBrownster wrote:
> HI there I've been using this website to learn the identity management
> system
>
> http://trac.turbogears.org/turbogears/wiki/IdentityManagement?version=69
>
> in the set up tutorial it informs the user to use a line of code to
> validate the index page
>
> @identity.require(identity.in_group("admin"))
>
> The user is set up in a group called in admin. But it seems to raise an
> error when i try to start up the server...i'll show you where i placed
> the code with in the index method
>
> @expose(template="se.templates.page")
>     @identity.require(identity.in_group("admin"))
>     def index(self, pagename="FrontPage"):
>         try:
>             page = Page.byPagename(pagename)
> ..............................................
>
> The rest continues on...any ideas??..any help??

How about posting the actual error? This time of the year, most crystal balls 
are in overhaul due to excessive usage during the fifa world championship.

Diez

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