Re: [SQLObject] Dynamic SQLObject class declaration

2007-01-12 Thread Oleg Broytmann
On Fri, Jan 12, 2007 at 09:27:44PM +0900, Hiroki Tamakoshi wrote: > Great! genius Oleg Thank you! It is not me, it is the author Ian Bicking and the host of developers. (-: Oleg. -- Oleg Broytmannhttp://phd.pp.ru/[EMAIL PROTECTED] Programmers don't die,

Re: [SQLObject] Dynamic SQLObject class declaration

2007-01-12 Thread Hiroki Tamakoshi
Thanks Oleg. On Fri, 12 Jan 2007 12:48:34 +0300 Oleg Broytmann <[EMAIL PROTECTED]> wrote: > On Fri, Jan 12, 2007 at 06:00:48PM +0900, Hiroki Tamakoshi wrote: > > Is it possible to create sqlobject class dynamically? > >It is. > > > Since the class name and the table name are tightly coupled

Re: [SQLObject] Dynamic SQLObject class declaration

2007-01-12 Thread Oleg Broytmann
On Fri, Jan 12, 2007 at 06:00:48PM +0900, Hiroki Tamakoshi wrote: > Is it possible to create sqlobject class dynamically? It is. > Since the class name and the table name are tightly coupled Not neccessary. You can set the table name: class MyTable(SQLObject): class sqlmeta: tabl

[SQLObject] Dynamic SQLObject class declaration

2007-01-12 Thread Hiroki Tamakoshi
Hi, Is it possible to create sqlobject class dynamically? I'm going to create many table by the progress of time. For example, I create a table named 'table2007-01-11' on 2007-01-11, 'table2007-01-12' on 2007-01-12, and so on. Since the class name and the table name are tightly coupled, I think