Le vendredi 04 mai 2007 à 20:16 +0200, Frédéric a écrit :
> On Friday 04 May 2007 20:08, Francis Lavoie wrote:
> 
> >         # CPhoneBook
> >         class CPhoneBook(SQLObject):
> >             phone_number = IntCol(notNone=True)
> >             category = EnumCol(enumValues=CATEGORY_LIST,
> >         default=CATEGORY_LIST[1])
> >             contact_id = ForeignKey('Contacts')
> 
> I think you should rename 'contact_id' with 'contact', here...
> 

does work either



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