Re: [SQLObject] SO bugs/enhancement/etc on TurboGears tracker, please take a look so we can take action on them.

2006-08-24 Thread Oleg Broytmann
Hello! I did look at this. On Sat, Aug 19, 2006 at 04:27:33PM -0400, Jorge Vargas wrote: > = bugs = > == inside Turbogears == > #no attribute 'autocommit > http://trac.turbogears.org/turbogears/ticket/763 Valid concern, but invalid test. I cannot run tests that requires TG. Create an SQLObject

Re: [SQLObject] Unicode fun with SQLObject and MySQLdb

2006-08-24 Thread Ivan Horvath
Dear Nadav, unfortunately i receive now the same error, when i try to insert some non ascii characters. the strange is that my system gives the db_encoding as latin-1, but my table collation is utf-8. so do you have any solution inserting non ascii characters to a un

Re: [SQLObject] Inheritance forgets ForeignKey

2006-08-24 Thread Craig
It was spoilt using it with sqlobject.SQLObject, since it seems that if you use the x.contactID, another select is not made to fetch the "contact" object, as is the case with: x.contact.id Regards, Craig - Using Tomcat

Re: [SQLObject] Inheritance forgets ForeignKey

2006-08-24 Thread Oleg Broytmann
On Thu, Aug 24, 2006 at 10:58:34AM +0200, Craig wrote: > I'd like to A patch (with tests) will be gladly accepted! Oleg. -- Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] Programmers don't die, they just GOSUB without RETURN.

Re: [SQLObject] Connect to 2 databases which each have a table name the same

2006-08-24 Thread Oleg Broytmann
On Thu, Aug 24, 2006 at 09:30:42AM +1000, Ray Smith wrote: > Is it possible to connect to 2 databases each of which have a common > table name?? It is. I have a program that copies a database from Postgres to SQLite - both backends have identical structures. Just pass a connection object to

Re: [SQLObject] MySQL config file support

2006-08-24 Thread Oleg Broytmann
On Wed, Aug 23, 2006 at 01:05:29PM -0700, Monty Taylor wrote: > So I think it's what people expect to have the files read. Whether we > want to add a section [sqlobject] or [sqlalchemy] by default or not, > or just leave it to read the [client] sections is another question... By default it shou

[SQLObject] Inheritance forgets ForeignKey

2006-08-24 Thread Craig
Hi, Is this a bug? I'd like to use the form: print student.contactID instead of : print student.contact.id cause I suspect its better optimized. Thanks -code snip- from sqlobject import * from sqlobject.inheritance import InheritableSQLObject con