[sqlalchemy] Re: http://www.sqlalchemy.org/docs/05/ormtutorial.html

2009-09-03 Thread Michael Bayer
not much idea. I'd make sure its not iPython screwing things up, I seem to recall people having issues with it for some reason (which of course seems ridiculous) paulo wrote: Im trying to run through this tutorial http://www.sqlalchemy.org/docs/05/ormtutorial.html. After running.

[sqlalchemy] Re: http://www.sqlalchemy.org/docs/05/ormtutorial.html

2009-09-03 Thread Mike Conley
Any chance this is the second iteration of declaring the User class in this session, and the first time was missing the primary_key? I run into this in interactive sessions and need to call clear_mappers() before redoing the class. It seems that the old mapper is still hanging around and causes

[sqlalchemy] Re: http://www.sqlalchemy.org/docs/05/ormtutorial.html

2009-09-03 Thread Paulo Aquino
I guess it's ipython cause when I tried saving the tutorial source code in a file and run python .py everything is working fine. Yeah you're right seems ridiculous. :) On Thu, Sep 3, 2009 at 11:10 PM, Mike Conley mconl...@gmail.com wrote: Any chance this is the second iteration of declaring