Updated settings.py to keep in line with GeoNode master

Didn't update all of the flake8 formatting changes, however