On Jun 19, 2009, at 9:53 PM, bijoy wrote: > yes i wanted to use sqlalchemy... Forgot to mention earlier... > > Model directory doesn't have meta.py file, It have __init__.py file, > which is blank, no lines of code in it. > in config/environment.py file, following line is missing "from > sqlalchemy import engine_from_config" > > I am using pylons 9.6 and sqlalchhemy 4.7.
The book assumes you're using at least Pylons 0.9.7, which has a SQLAlchemy option that sets up the meta.py file the book refers to. I'd highly recommend using Pylons 0.9.7 with SQLAlchemy 0.5.4. Cheers, Ben --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
