Re: [SQLObject] sqlobject or SQLObject
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: michelts <mic...@gm...> - 2005-04-19 11:35:11
|
Hi! On 4/18/05, Jay donnell <jay...@gm...> wrote: > The problem is that it's a pain, and productivity is important. It's > the reason I prefer python. If I wanted to do stuff like this I'd do > php ;) Jay, this code is to wonder what sqlobject version you have... Today in svn, the module name changed to sqlobject but the SQLObject class still the same case. I think this is to follow a pep (don't remember what :) You can download a specific sqlobject package (I recomend the last svn checkout), and work with it. This way you don't need to worry about the last api changes. Anyway the SQLObject is depreacted I think... seeya > On 4/18/05, Stewart Midwinter <ste...@gm...> wrote: > > I guess you could always code up a test to see if the lower-case > > import properly, otherwise try the uppercase. > > eg. > > try: > > import sqlobject > > except ImportError: > > try: > > import SQLObject > > except: > > print "sorry, can't find SQLObject" --=20 Michel Thadeu Sabchuk Curitiba - Brasil |