[sqlalchemy] mapper property order

2009-12-01 Thread boothead
Hi all, There anyway to keep the ordering of properties defined on a mapper? The reason I ask is that I'm building a tabbed interface consiting of a parent form and multiple related child forms and I'd like the tabs to be in the same order that I've defined the properies on the parent mapper:

[sqlalchemy] previous question on ordering mapper properties

2009-12-01 Thread boothead
Sorry for the noise I messed up the implementeation of the SortedDict. I actually works fine. Thanks, Ben -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalch...@googlegroups.com. To unsubscribe from this

[sqlalchemy] easy_install SQLAlchemy

2009-12-01 Thread Alexandre Conrad
Hey there, just wondering: easy_install SQLAlchemy downloads and installs version 0.5.2. Shouldn't it be 0.5.6? Regards, Alex -- You received this message because you are subscribed to the Google Groups sqlalchemy group. To post to this group, send email to sqlalch...@googlegroups.com.

[sqlalchemy] integrity error in FK relation

2009-12-01 Thread rajasekhar911
i have following relation b/w 3 tables class A(DeclarativeBase) __tablename__='a' id=Column(Unicode(50))#primarykey name=Column(Unicode(50)) cc=relation(C, \ primaryjoin=id == C.b_id,\ foreign_keys=[C.b_id],\ uselist=False,cascade='all,

Re: [sqlalchemy] easy_install SQLAlchemy

2009-12-01 Thread Tefnet Developers - Tomasz Jezierski
Dnia 2009-12-01, Wt o godzinie 18:45 +0100, Alexandre Conrad pisze: Hey there, just wondering: easy_install SQLAlchemy downloads and installs version 0.5.2. Shouldn't it be 0.5.6? # easy_install SQLAlchemy Searching for SQLAlchemy Reading http://pypi.python.org/simple/SQLAlchemy/

Re: [sqlalchemy] easy_install SQLAlchemy

2009-12-01 Thread Michael Bayer
are you sure about that ? if you already have 0.5.2 installed it will stick with that unless you say --upgrade. a clean run works for me: z-eeks-Computer-3:~ classic$ easy_install SQLAlchemy Searching for SQLAlchemy Reading http://pypi.python.org/simple/SQLAlchemy/ Reading

Re: [sqlalchemy] integrity error in FK relation

2009-12-01 Thread Michael Bayer
On Dec 1, 2009, at 2:16 PM, rajasekhar911 wrote: i have following relation b/w 3 tables class A(DeclarativeBase) __tablename__='a' id=Column(Unicode(50))#primarykey name=Column(Unicode(50)) cc=relation(C, \ primaryjoin=id == C.b_id,\

Re: [sqlalchemy] easy_install SQLAlchemy

2009-12-01 Thread Mariano Mara
Excerpts from Tefnet Developers - Tomasz Jezierski's message of Tue Dec 01 19:06:31 -0300 2009: Dnia 2009-12-01, Wt o godzinie 18:45 +0100, Alexandre Conrad pisze: Hey there, just wondering: easy_install SQLAlchemy downloads and installs version 0.5.2. Shouldn't it be 0.5.6?

Re: [sqlalchemy] easy_install SQLAlchemy

2009-12-01 Thread Alexandre Conrad
Ok, I have my finger on the problem. From a virtualenv at the root of my pylons project (where development.ini lives): -- a...@alex-laptop:~/hg/papyrus/papyrus$ virtualenv --no-site-package foo New python executable in foo/bin/python Installing

[sqlalchemy] Re: integrity error in FK relation

2009-12-01 Thread rajasekhar911
but this happen only when i use innodb as engine. didnt give an error on myisam on mysql or sqlite. On Dec 2, 3:12 am, Michael Bayer mike...@zzzcomputing.com wrote: On Dec 1, 2009, at 2:16 PM, rajasekhar911 wrote: i have following relation b/w 3 tables class A(DeclarativeBase)