From: Ian B. <ia...@co...> - 2003-08-01 01:58:44
|
On Sat, 2003-07-26 at 16:49, Javier Ruere wrote: > Hi, I started using SQLObject today and I like it a lot. > There are a couple of questions I have for which I could find no > answers on the mailing list. > First, why are transactions not supported in SQLite? I believe the DB > has that ability. They should be, though I haven't really tried it. Sometime I have to really try transactions out more thoroughly and document them better. What support there is for transactions is not database-specific. > Second, I could not get the code in the attached file (prueba.py) > working. Is what I'm trying to do there forbiden? No, you just found a bug related to having two ForeignKey('Place') -- SQLObject has a fixup stage where 'Place' gets replaced with the real class, and funny stuff was happening when that got hit twice. It's fixed now in CVS. > Third, the following code gets a type error when run in the interactive > shell: > > import SQLObject > SQLObject.__dict__ Ah... I used __getattr__ without checking for special methods. That should be fixed in CVS now as well. (Note pserver is a day behind sometimes) Ian |