python 2, 3 compatible
database config with dj-paas-env