Hi,
I just started fiddling with events (SQLObject-0.10.0b1-py2.5), and I
think I found an omission in RowDestroySignal. RowCreatedSignal has a
callback-function-list that gets passed to handlers, which then will be
invoked after the event has run.
I need some code to run _after_ a object is d
On Mon, Jan 28, 2008 at 11:22:14PM +0100, Frank Wagner wrote:
> AttributeError: No connection has been defined for this thread or process
You have to open a connection to the DB before you could run a query.
You can declare the connection as a string:
__connection__ = "sqlite:///path/to/databa
Hi Oleg,
thanks again for your help.
that works smoothly now, but i´m getting another error now:
Whenever i use
Reisen.select(/*ANY CLAUSE*/)
there comes this error:
Traceback (most recent call last):
File "", line 1, in ?
File
"/usr/lib/python2.4/site-packages/SQLObject-0.9.3-py2.4.egg/s
On Mon, Jan 28, 2008 at 08:13:05PM +0100, Frank Wagner wrote:
> @classmethod
> def select(cls, clause=None, **kw):
> sresult = SQLObject.select(cls, clause, **kw)
> return sresult.filter(~ LIKE(Reisen.q.REISENR, "BUS%"))
My mistake. In
sresult = SQLObject.select(cls, cla
Hello Oleg,
sorry for the late answer, i was away for some time. I really appreciate
your help!
1) When i define the function like this:
@classmethod
def select(cls, **kw):
sresult = SQLObject.select(cls, **kw)
return sresult.filter(~ LIKE(Reisen.q.REISENR, "BUS%"))
and
Hello. Sorry for the late answer. I really had been thinking about it all
these days.
On Sat, Jan 26, 2008 at 02:11:26AM -0800, Juerg Lemke wrote:
> would you consider making
> ..select() refuse to work on foreign keys? Or give the
> right result?
>
> An example (I meant to put this on the wiki,