additional settings.py changes

plus more documentation