On 7/21/06, Sanjay <[EMAIL PROTECTED]> wrote:

While I run the code and login using 'sanjay' (with single quotes fed
in the text box!), I succeed. If I don't use the single quotes, I get
this strange error:

that indeed seems strange.

  File
"/usr/lib/python2.4/site-packages/TurboGears-0.9a7-py2.4.egg/turbogears/identity/saprovider.py",
line 153, in validate_identity
    user = user_class.get_by(user_name=user_name)

I believe with that current Identity code you must extend activeMapper because the call above is not defined in plain-sqlalchemy code.


try changing class Group(object): and the others for class Group(ActiveMapper):

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