Fixing up local settings > settings and import of settings in view.py