Pylons / pyramid_blogr

Pyramid_blogr is an example implementation of Flaskr app with Pyramid Web Framework
72 stars 39 forks source link

provide a better example of models package that includes a meta.py and imports objects into the root #13

Closed mmerickel closed 9 years ago

mmerickel commented 9 years ago

The current example is too simplistic because the initialize_db script needs to manually import all of the models.

It would be better to go with the canonical sqlalchemy example of models/meta.py definining Base and then models/__init__.py importing all the models into there.