view pylons_app/dbmodel/__init__.py @ 10:525ed90e4577

major app speedup moved the wsgi creation to app globals, in order to make it run only once. little config changes.
author Marcin Kuzminski
date Sat, 20 Feb 2010 14:30:13 +0100
parents 564e40829f80
children
line wrap: on
line source

from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import relation, backref
from sqlalchemy import ForeignKey, Column, Table, Sequence
from sqlalchemy.types import *
from sqlalchemy.databases.mysql import *
from sqlalchemy.databases.postgres import *
from pylons_app.model.meta import Base