diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-07-27 04:08:53 +0000 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2007-07-27 04:08:53 +0000 |
commit | ed4fc64bb0ac61c27bc4af32962fb129e74a36bf (patch) | |
tree | c1cf2fb7b1cafced82a8898e23d2a0bf5ced8526 /examples/polymorph/single.py | |
parent | 3a8e235af64e36b3b711df1f069d32359fe6c967 (diff) | |
download | sqlalchemy-ed4fc64bb0ac61c27bc4af32962fb129e74a36bf.tar.gz |
merging 0.4 branch to trunk. see CHANGES for details. 0.3 moves to maintenance branch in branches/rel_0_3.
Diffstat (limited to 'examples/polymorph/single.py')
-rw-r--r-- | examples/polymorph/single.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/polymorph/single.py b/examples/polymorph/single.py index dcdb3c890..dfc426416 100644 --- a/examples/polymorph/single.py +++ b/examples/polymorph/single.py @@ -1,6 +1,8 @@ from sqlalchemy import * +from sqlalchemy.orm import * -metadata = MetaData('sqlite://', echo='debug') +metadata = MetaData('sqlite://') +metadata.bind.echo = 'debug' # a table to store companies companies = Table('companies', metadata, |