Re: [SQLObject] ForeignKey not using the right column name on request

2017-02-07 Thread janemba
On 02/07/2017 02:21 AM, Oleg Broytman wrote: > >'name' in SQLObject is a pythonic name of column; if you want to > provide a database name it's called 'dbName': > > class User(sqlobject.SQLObject): > > class sqlmeta: > table = 'tbl_user' > idName = 'user_id' > > user_se

Re: [SQLObject] ForeignKey not using the right column name on request

2017-02-06 Thread Oleg Broytman
Hi! On Tue, Feb 07, 2017 at 12:34:36AM +0100, janemba wrote: > Hi, > > I'm experiencing an issue with ForeignKey. First of all, all my primary > keys use idName attribute as classes use a different name. So I built > the following classes : > > -- > > class User(sqlobject.SQLObject): > >