mitsuhiko/flask-sqlalchemy — Issue #60: No way to use a pre-existing metadata object with flask-sqlalchemy
Author: nathan-rice
Created: 2011-11-15 20:43:48+00:00
State: open

I would prefer not to couple my modeling code to my web application. My preferred technique is to create a metadata in the same module as my model definitions, passing that later to table definitions. This lets me use the same module definitions in external scripts without a lot of overhead.