local settings reading corrected in view.py