Jan Dittberner
b53e8c48df
* add __repr__() to all current module objects (fixes #10) * pep8 fixes in all Python files (addresses #9) * create subdirectory for customer templates (addresses #2) git-svn-id: file:///var/www/wwwusers/usr01/svn/pyalchemybiz/trunk@8 389c73d4-bf09-4d3d-a15e-f94a37d0667a
15 lines
424 B
Python
15 lines
424 B
Python
"""SQLAlchemy Metadata and Session object"""
|
|
from sqlalchemy import MetaData
|
|
|
|
__all__ = ['engine', 'metadata', 'Session']
|
|
|
|
# SQLAlchemy database engine. Updated by model.init_model().
|
|
engine = None
|
|
|
|
# SQLAlchemy session manager. Updated by model.init_model().
|
|
Session = None
|
|
|
|
# Global metadata. If you have multiple databases with overlapping table
|
|
# names, you'll need a metadata for each database.
|
|
metadata = MetaData()
|