Drew Whitehouse wrote:
> Yes I see that line in the debug, and I can make users from catwalk or
> the web shell. The key is to do it from "tg-admin shell" run in your
> projects directory or from a simple python program that has imported
> your model.py.
>
> I notice Heikichi Umahara's patch (mentioned above) has been marked
> down to trivial. As he pointed out the error report is itself
> erroneous, this is actually a bug.
>
> -Drew

I think the error is correct, it's just being a little to specific.  If
it were to say IdentityProviderNotEnabled, and stop after the message
that the identity provider was enabled, it would be correct.  Not
necessarily helpful, but correct :-)

There are actually two patches for this error, (sorry, I didn't see
Heikichi Umahara's patch before):

http://trac.turbogears.org/turbogears/ticket/624
http://trac.turbogears.org/turbogears/ticket/635

I like that 624 doesn't require an identity provider to be instantiated
(breaking out the encryption into a separate standalone function), and
I like that 635 uses the identity provider's encrypt_password if it is
enabled (in case you want to do a custom encryption that the default
version doesn't provide).


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