I have found a solution which works, but what is the correct way
Michael? I created in base.py:

metadata = DynamicMetaData()

then in my websetup.py :

uri = conf['sqlalchemy.dburi']
engine = create_engine(uri)
metadata.connect(uri)
metadata.create_all()

this works, but you mentioned that I should use MetaData() in my case,
which I am having problems with, could you detail at where and what I
should import to use Metadata()? Why the preference over Dynamic?

thanks


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" 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/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to