On Tue, 20 Mar 2007 at 20:28, [EMAIL PROTECTED] wrote:
> Which still means there's a documentation bug, but I'm not sure
> what the fix would be :) :)
Actually, thinking about it, what would have saved me the half day
would be if the error message I got had mentioned that it was
related to the mul
On Tue, 20 Mar 2007 at 19:20, [EMAIL PROTECTED] wrote:
> I just spent half a day banging my head against a weird error I was
> getting from my model when trying to access a MultipleJoin. I built a
> simple test case that worked fine, and by stripping my original model
> down piece by piece until i
I just spent half a day banging my head against a weird error I was
getting from my model when trying to access a MultipleJoin. I built a
simple test case that worked fine, and by stripping my original model
down piece by piece until it looked like the working case I finally
found my bug.
My Fore
On Tue, Mar 20, 2007 at 10:53:04AM -0300, Jorge Godoy wrote:
> Shouldn't both be updated in the same command since I used a ".set()" instead
> of updating each attribute separately? I'd expect it to run one command
.set() runs as many UPDATEs as there are non-plain setters.
ForeignKey is a non
Oleg Broytmann <[EMAIL PROTECTED]> writes:
> Hello. A simplified version of your program
I should have written it myself instead of just copy & paste parts of the
code. Sorry.
> --
> from datetime import datetime
>
> class Usuario(SQLObject):
> name = StringCol(default=None)
>
> cl
Hello. A simplified version of your program
--
from datetime import datetime
class Usuario(SQLObject):
name = StringCol(default=None)
class TipoFerramenta(SQLObject):
descricao = UnicodeCol(default=None)
# Auditing
incluidoPor = ForeignKey('Usuario', default=None, cascad
Hello.
The real conversion is performed by a validator. So for a new column
class you need a validator class, an SOCol class that will create the
validator, and a Col class that will be used as a column description.
The best examples are in col.py module. See how PickleCol is
implemented.
O
Oleg Broytmann, el 20 de marzo a las 10:55 me escribiste:
> Hello!
>
> On Mon, Feb 12, 2007 at 05:36:23PM -0300, Leandro Lucarella wrote:
> > Hi! This link seems to be broken:
> > http://sqlobject.org/Versioning.html
> >
> > Same for http://sqlobject.org/sqlobject-architecture.html.
>
>They