[EMAIL PROTECTED] wrote:
> Adam,
>
> User is the model definition, not an instance of a User.

That is what I was assuming, considering you were trying to "get" a
user from a given string. :)

>
> Would I still be able to add a "getUser()" function to the User model?

Yep, you sure can. You might want to take a look at the relevant part
of the docs for SQLObject. You can find them here:
http://www.sqlobject.org/SQLObject.html#adding-magic-attributes-properties

-Adam


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