> 
> Unfortunately I can't change ne_ems_id to ne_ems because I have not
> control over the structure of the underlying database

ForeignKey will append the _id for a foreign key by itself. So you *can* 
change it. And even if your convention wouldn't be so conforming, you 
can change it using a parameter to ForeignKey. I'm not 100% sure which 
that is though - try "foreignKey" or "name".

While I like SO, you might really be better of using SA when you have to 
cope with a given schema - it is better suited for that.

Diez

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