Is this right? This overrides the base.py DATABASES setting, it doesn't append it. So the db=postgis setting is lost. Not sure, but pretty sure :-)