Richard (koorb) wrote:
> I tried that, only got the same error. Also tried specially defining a
> function:
>
> def current_group_list():
>     return [(group.id, group.displayName) for group in
> identity.current.user.groups]
>
> (...)
>
>     group = widgets.SingleSelectField(name="group", label="Assign to
> group",
>         options=current_group_list,
>         help_text=_("..."))
>
> just results in IdentityManagementNotEnabledException

It's strange if you're really passing current_group_list and not
current_group_list() this function will be called only at display time
(when the request is available), when are you receiving this exception?
when you click that page or before?

Ciao
Michele


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