almost there:

I put this in base.py

from sqlalchemy import *
metadata = MetaData()

so anywhere I need it I just import:

from gameolymp.lib.base import *

I have no errors, but no databases are created or dropped, this is
what I added to my websetup.py

from sqlalchemy import *
from myapp.lib.base import *

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

 metadata.create_all()

no errors, but no reaction


Thanks for your patience Michael



On Jun 13, 7:58 pm, Michael Bayer <[EMAIL PROTECTED]> wrote:
> dont use "g".  just get at it via <myapp>.base.metadata.
>
> if you want to use "g", put it in app_globals.py.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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