On Apr 12, 4:16 pm, Laureano <[EMAIL PROTECTED]> wrote:
> Hope this help you.

Gracias Laureano, me ayudó bastante.   I got the One-to-many join
working.

Follow-up question:

Does the ForeignKey in a SQLObject class have to be an IntCol, or we
are liberty of making it whatever we want?  (e.g. a StringCol)

[2 min. later - answering my own question ... to clarify, in your
model.py you don't specify a column type for a ForeignKey.  But in the
sqlite database you have to say what kind of data lives in that
field.  I changed Int to Text in the sqlite database properties (using
Sqlite Database Browser) and all was well.

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