[Repoze-dev] [issue167] normalized sql templates for repoze.bfg + fixed db_echo bug

2010-09-18 Thread Marcin
New submission from Marcin erg...@gmail.com: fixes naming and mixed declarative/imperative style for models also fixes problem with db_echo param not working by using asbool() -- assignedto: chrism files: normalized_alchemy_templates.diff messages: 450 nosy: chrism, ergo priority: bug

[Repoze-dev] [issue167] normalized sql templates for repoze.bfg + fixed db_echo bug

2010-09-18 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: Thanks! I would just apply it immediately, except the bfgwiki2 tutorial (the SQLAlchemy tutorial) will need to be fixed to account for the changes made to the bfg_routesalchemy paster template (it uses the template as a bootstrap

[Repoze-dev] [issue167] normalized sql templates for repoze.bfg + fixed db_echo bug

2010-09-18 Thread Chris McDonough
Chris McDonough chr...@plope.com added the comment: After taking a short stab at it, I realize why a switch to declarative in bfg_routesalchemy has never been done. It's quite a bit of of work to change the tutorial, as the bfgwiki2 tutorial tries very hard to name line numbers, and explain