add a shim for old-style django database config