Lee McFadden schrieb:
> Not by default but you could change your model to make sure that a
> login name is set to lower case before being set/selected.

I found your blog entry[1] where you described how to override by_user_name but 
that
didn't work for me... I just used your method but it is not called from
SQLObjectIdentity.validate_identity. Obviously, only the SQLObject method is 
used... :-(

If I change the call from
"user= user_class.by_user_name( user_name )"
to
"user= user_class.prefix_by_user_name( user_name )"
and rename my class method, it works.

This happens with python-sqlobject 0.7, Python 2.4.4 on Fedora Core 6 (x86_64).
Any hints?

fs

[1] http://www.splee.co.uk/2006/09/07/disabling-users-instead-of-deleting/

--~--~---------~--~----~------------~-------~--~----~
 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to