Re: [SQLObject] Creating tables

2011-06-13 Thread Oleg Broytman
On Mon, Jun 13, 2011 at 03:45:39PM -0400, Peter Douma wrote: > Thanks for the reply. The actual error is > OperationalError("Can't create table 'conxt.#sql-d58_57' (errno: 150)",) > > The database name is conxt. > If I ignore this error everything runs fine. You are right that 'organizer' > has

Re: [SQLObject] Creating tables

2011-06-13 Thread Oleg Broytman
On Mon, Jun 13, 2011 at 01:48:08PM -0400, Peter Douma wrote: > I just started using SQLObject Welcome! > When I get to this model > > class Event(SQLObject): > event_id= IntCol( unique = True ) > describ = StringCol() > date= DateTimeCol(default = DateTimeCol.now)

Re: [SQLObject] creating tables with ForeignKeys

2006-04-05 Thread Oleg Broytmann
On Wed, Apr 05, 2006 at 04:39:13AM -0500, Jachin Rupe wrote: > I've been up for a while so I could be missing something obvious but I > didn't see anything in the documentation that said that when I'm dealing > with one-to-many relationships I have to create the "one" table before I > created th