> BUT if you have a model, which you used to create the sqlite DB with, chances
> are that you could make things work. Because then you could try and create a
> pickle or something from a in-memory representation of your object graph,
> switch the DB-config, and store it away again. However, I'm
On Friday 08 December 2006 16:55, Ed Singleton wrote:
> I had posted this to the TurboGears list, but just realised that this
> may be a more appropriate place for it.
>
> Any help on using SQLObject to create sql files greatly appreciated.
>
> thanks
>
> Ed
>
> -- Forwarded message ---
I had posted this to the TurboGears list, but just realised that this
may be a more appropriate place for it.
Any help on using SQLObject to create sql files greatly appreciated.
thanks
Ed
-- Forwarded message --
From: Ed Singleton <[EMAIL PROTECTED]>
Date: 08-Dec-2006 11:08
Sub
Completely untested, but what about:
class A(SQLObject):
class sqlmeta:
idName = 'Ident'
class A1(A):
class sqlmeta(A.sqlmeta):
table = 'TableA1'
- Luke
Quoting Robert <[EMAIL PROTECTED]>:
> Hello,
>
> I have encountered a situation where I'd like to define a common
Hello,
I have encountered a situation where I'd like to define a common
subclass (in the sense of Python) for a set of closely related and quite
bulky SQLObject classes. Actually, at least now, these classes differ
only by sqlmeta.table, but in the future this might change. Now, a vital
part o