Add missing import to settings/base.py

In 791faa94 I moved the database config to base.py but did not import the required ``environ`` function.