diff development.ini @ 6596:304aae43194c

gearbox: fix setup-db failure when db is created for the first time (Issue #272) The port to TG2 in e1ab82613133 replaced pylonsconfig.init_app for gearbox commands with middleware setup code. That introduced reading of the database for commands that don't need a database - for example the command for creating databases ... which thus failed. To fix that, move the middleware setup with database access so it only is run for gearbox command that requires a db session. There is apparently no need for a direct replacement for pylonsconfig.init_app .
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 14 Apr 2017 21:30:42 +0200
parents b4c27fe6438c
children 5b3568c99cc3
line wrap: on
line diff